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

Marc Tompkins marc.tompkins at gmail.com
Thu Apr 25 10:06:01 CEST 2013


On Thu, Apr 25, 2013 at 12:51 AM, eryksun <eryksun at gmail.com> wrote:

> On Thu, Apr 25, 2013 at 3:41 AM, Marc Tompkins <marc.tompkins at gmail.com>
> wrote:
> > 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.
>
> boB has 3.3.1 installed. The official Windows installer for 3.3
> installs the new pylauncher to %windir%. It doesn't give you an option
> to do otherwise. Have you read PEP 397? Have you installed 3.3 on
> Windows?
>
> http://www.python.org/dev/peps/pep-0397
>

Only as a non-administrative user...

> The launcher is installed into the Windows directory (see discussion below) if installed by a privileged user. The stand-alone installer asks for an alternative location of the installer, and adds that location to the user's PATH.
>
> I had not read the PEP, and I apologize for my previous outburst.  Now
that I _have_ read it, I gotta say: this is stupid.  Third-party software
should NOT be installing stuff in the Windows folder - including Python, no
matter how much I love it.  How on earth did the discussion on this go, I
wonder?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130425/a376b7c2/attachment.html>


More information about the Tutor mailing list