Windows/DOS: double clicking a .py file

Steve Holden sholden at holdenweb.com
Mon Sep 9 16:11:02 EDT 2002


"Just" <just at xs4all.nl> wrote in message
news:just-F18BA3.17425609092002 at news1.xs4all.nl...
[ how top see messages ]
>
> Thanks for both suggestions. Another workaround just occured to me: do a
> raw_input("type enter to exit") in an exception hook. That should work
> just fine in a py2exe-fied app as well I suppose.
>

python -i

will allow you to enter interactive statements after your execution
finishes, which can be useful when you're debugging.

regards
-----------------------------------------------------------------------
Steve Holden                                  http://www.holdenweb.com/
Python Web Programming                 http://pydish.holdenweb.com/pwp/
Previous .sig file retired to                    www.homeforoldsigs.com
-----------------------------------------------------------------------






More information about the Python-list mailing list