How to run Python in Windows w/o popping a DOS box?

pyguy2 at gmail.com pyguy2 at gmail.com
Fri Apr 22 08:29:48 EDT 2005


click on my computer
Then select tools->folder options->File Types

scroll down the where the py extension is defined, highlight it, click
on advanced
then highlight open and hit the edit button.

There you should see python.exe with some other stuff, change it to
pythonw.exe

Then, in the future,  if you click on a python program, it should use
pythonw.exe
The steps should be roughly similar on different versions of windows.

I always liked the #! syntax of unix, too bad MS doesn't have it. And,
too bad their command prompt sucks, too bad process creation is heavy,
too bad . . .




More information about the Python-list mailing list