How to make python scripts .py executable, not bring up editor
iainking at gmail.com
Tue Jul 8 15:54:33 CEST 2008
On Jul 7, 10:56 pm, korean_dave <davidrey... at gmail.com> wrote:
> 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?
find a .py file in windows explorer. Right click it->Open With-
Now find your python.exe file (should be in c:\python24), select it,
and tick the box that says "Always use the selected program"
More information about the Python-list