Windows/DOS: double clicking a .py file

Peter Hansen peter at engcorp.com
Tue Sep 10 08:35:43 EDT 2002


Just wrote:
> Not only that, but I want to only keep the window open when an exception 
> occurred.
> 
> But thanks for all the input!

Just, maybe your users would be happy to enable an option
that would just *mail* you the exception traceback when
a problem occurs, rather than having to read it in an
ugly DOS window and perhaps make mistakes in transcribing
it when they tell you about it.

There was at least one recent thread which showed examples
of how to do this.  If you can't dig them up (might be
in the Cookbook too) ask and someone can find a link or
repost.

If these are internal users, that is certainly a better
option than just printing the traceback.

-Peter




More information about the Python-list mailing list