How to make python scripts .py executable, not bring up editor
grumman at example.com
Tue Jul 8 05:29:51 CEST 2008
> From command Prompt, i type in a script, "tryme.py".
> This, instead, brings up PythonWin editor and Interactive Window.
> Path variable is "C:\Python24". (I need Python 2.4 installed, not 2.5)
> How do I make it so that the script runs?
Start-><right click>My Computer->Properties->Advanced->Environment Variables
in bottom pane "System Variables" add ";.py" to "PATHEXT"
More information about the Python-list