Keeping console window open

Tomasz Zieliński tomasz.zielinski at pyconsultant.eu
Sun Jun 7 14:55:57 CEST 2009


On 7 Cze, 14:49, Fencer <no.i.d... at want.mail.from.spammers.com> wrote:
> My question is how can I trap
> errors encountered by the interpreter (if that is the right way to put
> it) in order to keep the console window open so one has a chance to see
> the error message?
>

Interpreter errors are same beasts as exceptions,
so you can try:...except: them.

--
Tomasz Zieliński
http://pyconsultant.eu



More information about the Python-list mailing list