<br><div><span class="gmail_quote">On 26/12/05, <b class="gmail_sendername">Mark Carter</b> <<a href="mailto:me@privacy.net">me@privacy.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What I would like to do it type something like<br> > myscript.py<br>instead of<br> > python myscript.py<br><br>
</blockquote></div><br>
Open an explorer window or open "My Computer"
<ul>
  <li>Click on TOOLS then FOLDER OPTIONS</li>
  <li>Select the "FILE TYPES tab and click on NEW</li>
  <li>Enter  PY as the file extension and click OK</li>
  <li>Select PY from the list and click CHANGE</li>
  <li>Select your Python.exe executable from the list or (using other) from your Python folder<br>
  </li>
</ul>
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:<br>
<br>
c:\pythonapps<br>
c:\pythonapps\data<br>
c:\pythontest<br>
c:\pythontest\archives<br>
c:\pythontest\archives\temp<br>
<br>
HTH :)<br>
<br>
<br>
<br>
<br>