Windows/DOS: double clicking a .py file

Peter Hansen peter at
Tue Sep 10 00:04:11 EDT 2002

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 <args>
[snip rest]

Although, unfortunately for the OP who has users on Win98, cmd.exe does
not exist except in NT/2K/XP.


More information about the Python-list mailing list