On 26/12/05, Mark Carter <[EMAIL PROTECTED]> 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 :)




-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to