[Tutor] Runs in IDLE with F5, but not in Windows Command Prompt

Marc Tompkins marc.tompkins at gmail.com
Thu Apr 25 09:41:21 CEST 2013


On Wed, Apr 24, 2013 at 9:36 PM, eryksun <eryksun at gmail.com> wrote:

> .py files need to be associated with %windir%\py.exe.


NO!

%windir% means "the directory where Windows is installed", usually (but not
always) C:\Windows.  You're saying that there needs to be a py.exe in the
Windows directory - this is absolutely not true.  You might have it set up
that way on your machine, but it's not standard and absolutely not
recommended.

To the original poster: please disregard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130425/cbdb0994/attachment-0001.html>


More information about the Tutor mailing list