[Idle-dev] IDLE-INTERPRETER
Tal Einat
taleinat at gmail.com
Wed Apr 7 11:12:12 CEST 2010
On Thu, Apr 1, 2010 at 10:06 PM, albert steine <albert.steine at live.se> wrote:
> MY OPERATING SYSTEM IS
> WINDOWS VISTA HOME
> I HAVE INSTALLED PYTHON 2.6.4
> WHEN I USE THE KEYWORDS else or elif in any
> programm it results to
> Syntax Error-invalid Syntax have any answer?
> thank-you
>
Are you placing a colon (":") after each "else" and "elif ..."?
Are you making sure that the indentation of the "else" and "elif" are
the same as for the "if" statement, while indenting the inner code
block further?
Finally, this mailing list is for discussing issues specific to IDLE.
General Python questions, like your question, should be posting on the
comp.lang.python newsgroup (easy via Google Groups) or perhaps Python
IRC channels.
Good luck!
- Tal
More information about the IDLE-dev
mailing list