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

Paul McGuire ptmcg at austin.rr.com
Tue Jul 8 09:37:28 EDT 2008


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

type:

python tryme.py

or:

C:\Python24\python tryme.py

-- Paul



More information about the Python-list mailing list