A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-December/010926.html below:

[Python-Dev] FW: [Python-Help] indentation

[Python-Dev] FW: [Python-Help] indentation [Python-Dev] FW: [Python-Help] indentationTim 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?

...




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4