<div class="gmail_quote">On Thu, Jan 15, 2009 at 9:35 AM, Dj Gilcrease <span dir="ltr">&lt;<a href="mailto:digitalxero@gmail.com">digitalxero@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
if he just needs to run python scripts you just need to type the<br>
script name (preferably from the directory it is in)<br>
<br>
eg: C:\Path\To\App&gt;app_name.py<br>
<br>
and it will run<br>
</blockquote><div><br>By default, and on most people&#39;s machines, not true.&nbsp; You can double-click on a .py script from the GUI, and if your file associations are set correctly then Python (or PythonW) will be invoked - but from the command line, not so much.<br>
<br>HOWEVER:&nbsp; if you add &quot;;.PY;.PYW&quot; to the end of your PATHEXT string, then this will work.&nbsp; (Just tried it out on my machine and wonder why I never did before.)<br><br>Unfortunately, this still requires that Windows be able to find &quot;python.exe&quot; or &quot;pythonw.exe&quot; in the system path... so it&#39;s nifty, but doesn&#39;t solve the OP&#39;s problem.<br>
<br></div></div><br>-- <br><a href="http://www.fsrtechnologies.com">www.fsrtechnologies.com</a><br>