How to make python scripts .py executable, not bring up editor

Chris Hulan chris.hulan at gmail.com
Tue Jul 8 19:41:36 CEST 2008


On Jul 7, 5: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?

sounds like you need to adjust the file association so .py files are
associated with python.exe



More information about the Python-list mailing list