How to run Python file?
zefciu
zefirek at Speacock.Pau.Apoznan.Mpl
Sat Sep 2 12:46:56 EDT 2006
Pontus Ekberg wrote:
> mistral wrote:
>
>> I have installed ActivePython
>> http://www.activestate.com/Products/ActivePython/
>> How I can run Python file, test.py?
>
> $ python test.py
>
> or
>
> $ ./test.py (if test.py is executable)
>
>
Thats if you use un*x. If you word under windows, the first would work,
but rather use some IDE like IDLE or SPE than mess with the windows
command line. Then you just load the file and run it from the menu.
zefciu
More information about the Python-list
mailing list