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

Benjamin Kaplan benjamin.kaplan at case.edu
Mon Jul 7 21:05:58 EDT 2008


On Mon, Jul 7, 2008 at 5:56 PM, korean_dave <davidreynon 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?
> --
> http://mail.python.org/mailman/listinfo/python-list
>

You need to set the file associations to use python.exe, instead of
PythonWin. In Vista, you can to this from Control Panel -> Programs ->
Default Programs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080707/f9d981ed/attachment-0001.html>


More information about the Python-list mailing list