[Python-Dev] FW: [Python-Help] indentation
Tim Peters
tim.one@home.com
Mon, 11 Dec 2000 02:36:57 -0500
While we're talking about pluggable CLIs, I share this fellow's confusion
over IDLE's CLI variant: block code doesn't "look right" under IDLE because
sys.ps2 doesn't exist under IDLE. Some days you can't make *anybody* happy
<wink>.
-----Original Message-----
...
Subject: [Python-Help] indentation
Sent: Sunday, December 10, 2000 7:32 AM
...
My Problem has to do with identation:
I put the following to idle:
>>> if not 1:
print 'Hallo'
else:
SyntaxError: invalid syntax
I get the Message above.
I know that else must be 4 spaces to the left, but idle doesn't let me do
this.
I have only the alternative to put to most left point. But than I
disturb the block structure and I get again the error message.
I want to have it like this:
>>> if not 1:
print 'Hallo'
else:
Can you help me?
...