Windows/DOS: double clicking a .py file

Just just at xs4all.nl
Tue Sep 10 09:23:16 CEST 2002


In article <3d7d6f26 at news.sentex.net>, Peter Hansen <peter at engcorp.com> 
wrote:

> David LeBlanc wrote:
> > cmd.exe will accept a flag telling it to stay open after something is run.
> > You can create a shortcut along the lines of:
> > 
> > cmd /K python myscript.py <args>
> [snip rest]
> 
> Although, unfortunately for the OP who has users on Win98, cmd.exe does
> not exist except in NT/2K/XP.

Not only that, but I want to only keep the window open when an exception 
occurred.

But thanks for all the input!

Just



More information about the Python-list mailing list