Windows Cmd.exe Window

Thomas Heller theller at python.net
Thu Jul 7 16:13:23 CEST 2005


"Giles Brown" <giles_brown at hotmail.com> writes:

> Nah.  You're missing my point.  I only want the command window not to
> be closed if there is an *exception*.  Picky I know, but there you go.

I find it useful to set an sys.excepthook which calls the debugger
pdb.pm().  This way I not only see the traceback, but I can also poke
around in the environment to find the problem.

Thomas



More information about the Python-list mailing list