interpreter use... help?

CCLittle nospam at ihatespam.com
Mon Aug 6 05:19:16 CEST 2001


Hi,

How do I type try and except statements into the interpreter?  I know this
sounds REALLY REALLY dumb, but I'm having problems.

Here is what I do:

>>> try:
           action1()
           except TypeError:

SyntaxError: invalid syntax
>>>

The except part is highlighted.
I just can't make the except go one indentation level lower even by pressing
the backspace!
Short of putting everything inside a module and importing, is there a way
around this?
I'm using IDLE 0.8 on win2k BTW.  See my previous posts - I'm having a lot
of problems in general.

Your help is greatly appreciated.
Thanks,
CC





More information about the Python-list mailing list