Re: IndentationError in 2.5 command line interpreter

[email protected]
Newsgroups gmane.comp.python.windows-ce
Message-ID <7533432.1162043521680.JavaMail.root@elwamui-little.atl.sa.earthlink.net>
It works! When I run the script, I get a command line interpreter that handles lines breaks correctly. Thanks! (Does this mean you are going to update the installable with this change?)

-----Original Message-----
>From: Luke Dunstan <[email protected]>
>Sent: Oct 28, 2006 8:33 AM
>To: [email protected], Pythonce <[email protected]>
>Subject: Re: [PythonCE] IndentationError in 2.5 command line interpreter
>
>
>----- Original Message ----- 
>From: <[email protected]>
>To: "Luke Dunstan" <[email protected]>; "Pythonce" 
><[email protected]>
>Sent: Saturday, October 28, 2006 8:55 PM
>Subject: Re: [PythonCE] IndentationError in 2.5 command line interpreter
>
>
>>I tried, but the script terminates without a message. So, I can't really 
>>get the script to run. Thanks for your help.
>
>Sorry, I forgot something. Try this one.
>
>Luke
>
>>
>> -----Original Message-----
>>>From: Luke Dunstan <[email protected]>
>>>Sent: Oct 27, 2006 11:57 AM
>>>To: [email protected], Pythonce <[email protected]>
>>>Subject: Re: [PythonCE] IndentationError in 2.5 command line interpreter
>>>
>>>
>>>----- Original Message ----- 
>>>From: <[email protected]>
>>>To: "Pythonce" <[email protected]>
>>>Sent: Friday, October 20, 2006 8:59 PM
>>>Subject: [PythonCE] IndentationError in 2.5 command line interpreter
>>>
>>>
>>>> If I try to write a multi-line construct in the Pythonce 2.5 command 
>>>> line
>>>> interpreter,
>>>> I get an IndentationError
>>>> when I press Enter after a line with some control flow statement.
>>>>
>>>> For example, consider this simple example:
>>>>
>>>>>>>  for i in xrange(10):
>>>>
>>>> When I press Enter at this point, I get:
>>>>
>>>> IndentationError: expected an indented block.
>>>>
>>>> In Pythonce 2.4.3 and earlier, pressing Enter forced a line break and I
>>>> could include
>>>> the necessary indentation on the continuation line. Is it a known issue
>>>> that this
>>>> behavior no longer works?
>>>>
>>>> Thanks for your help.
>>>
>>>Please try the attached script to see if it fixes the problem. Just put it
>>>on your Pocket PC and double-click it.
>>>
>>>Luke
>>
>>
>>
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.