Windows and python execution
Tim Williams (gmail)
tdwdotnet at gmail.com
Mon Dec 26 07:51:52 EST 2005
On 26/12/05, Mark Carter <me at privacy.net> wrote:
>
> What I would like to do it type something like
> > myscript.py
> instead of
> > python myscript.py
>
>
Open an explorer window or open "My Computer"
- Click on TOOLS then FOLDER OPTIONS
- Select the "FILE TYPES tab and click on NEW
- Enter PY as the file extension and click OK
- Select PY from the list and click CHANGE
- Select your Python.exe executable from the list or (using other)
from your Python folder
in your Python folder (c:\python24?) create a file called python.pth and
add a line for any *subdir* that you have stored your python apps and
scripts in eg:
c:\pythonapps
c:\pythonapps\data
c:\pythontest
c:\pythontest\archives
c:\pythontest\archives\temp
HTH :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20051226/7f30f81a/attachment.html>
More information about the Python-list
mailing list