[PythonCE] IndentationError in 2.5 command line interpreter

Luke Dunstan coder_infidel at hotmail.com
Fri Oct 27 18:57:16 CEST 2006


----- Original Message ----- 
From: <barlow5453 at mypacks.net>
To: "Pythonce" <pythonce at python.org>
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pcceshell.py
Url: http://mail.python.org/pipermail/pythonce/attachments/20061028/02704686/attachment.pot 


More information about the PythonCE mailing list