.py and running in Windows:

Michael Yanowitz m.yanowitz at kearfott.com
Tue Jun 13 09:29:25 EDT 2006


  Presently in my Windows 2000 system, when I double-click on a
.py file (open it) it automatically runs it in Python. I would
like to change that behavour. That is fine for .pyc file, but
for .py files, I would either like to have it run in Python but
return to the Python shell prompt when finished rather than
exit the shell. How do I do that?
  Or would it cause a problem (so that Python no longer works) if
I change the default .py extension to open in an editor rather
than execute it if I open it?

Michael Yanowitz

More information about the Python-list mailing list