Re: newbie: stani's python editor if-else

2007-09-11 Thread Bruno Desthuilliers
madzientist a écrit : hi, two quick questions: a) i am using SPE (latest version) and for some reason, when i type, say if 1==2: print not equal else: print equal the else is at the same indentation level as the preceding print statement, and i get a syntax error

Re: newbie: stani's python editor if-else

2007-09-11 Thread Steve Holden
madzientist wrote: hi, two quick questions: a) i am using SPE (latest version) and for some reason, when i type, say if 1==2: print not equal else: print equal the else is at the same indentation level as the preceding print statement, and i get a syntax error

Re: newbie: stani's python editor if-else

2007-09-11 Thread kyosohma
On Sep 10, 11:24 pm, madzientist [EMAIL PROTECTED] wrote: hi, two quick questions: a) i am using SPE (latest version) and for some reason, when i type, say if 1==2: print not equal else: print equal the else is at the same indentation level as the preceding print

RE: newbie: stani's python editor if-else

2007-09-11 Thread Hamilton, William
-Original Message- From: [EMAIL PROTECTED] [mailto:python- [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 8:26 AM To: python-list@python.org Subject: Re: newbie: stani's python editor if-else On Sep 10, 11:24 pm, madzientist [EMAIL PROTECTED

Re: newbie: stani's python editor if-else

2007-09-11 Thread Gregor Horvath
[EMAIL PROTECTED] schrieb: I agree with Steve. I have yet to see an IDE for Python (or anything else) that unindents statements. Even IDLE, the Official IDE for Python, doesn't do that. emacs in python-mode Just hit TAB and it unindents else in the given example. Hit TAB again and it cylces

Re: newbie: stani's python editor if-else

2007-09-11 Thread Steve Holden
Hamilton, William wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:python- [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 8:26 AM To: python-list@python.org Subject: Re: newbie: stani's python editor if-else On Sep 10, 11:24 pm

Re: newbie: stani's python editor if-else

2007-09-11 Thread Bruno Desthuilliers
Steve Holden a écrit : madzientist wrote: hi, two quick questions: a) i am using SPE (latest version) and for some reason, when i type, say if 1==2: print not equal else: print equal the else is at the same indentation level as the preceding print statement, and i

Python code-writing for the blind. Was (Re: newbie: stani's python editor if-else)

2007-09-11 Thread madzientist
Thanks, everybody, for the very very useful and kind responses. There is a second reason why I asked the question about automatic de- indenting. I am teaching myself Python partly so I can then help my technically astute, but blind friend learn programming. For the many reasons that Pythonistas

Re: Python code-writing for the blind. Was (Re: newbie: stani's python editor if-else)

2007-09-11 Thread Gregor Horvath
madzientist schrieb: Is Python a bad choice for the blind programmer, as a result of a tight linkage between visual aspects of the code and its function ? I wish the site blindprogramming.com weren't so lifeless... There was a thread regarding blind people and python indentation shortly:

Re: Python code-writing for the blind. Was (Re: newbie: stani's python editor if-else)

2007-09-11 Thread madzientist
Thanks, Gregor. Very helpful thread. Suresh On Sep 11, 1:26 pm, Gregor Horvath [EMAIL PROTECTED] wrote: madzientist schrieb: Is Python a bad choice for the blind programmer, as a result of a tight linkage between visual aspects of the code and its function ? I wish the site