[Tutor] help with getting python to run from command prompt onWindows XP
digitalxero at gmail.com
Thu Jan 15 18:35:03 CET 2009
if he just needs to run python scripts you just need to type the
script name (preferably from the directory it is in)
and it will run
Also if you have changed the enviromental variables, you need to close
the command prompt and re-open it on windows since it does not
propagate to existing instances
On Thu, Jan 15, 2009 at 9:48 AM, Brian van den Broek
<broek at cc.umanitoba.ca> wrote:
> Brian van den Broek said unto the world at 15/01/09 11:27 AM:
>> Alan Gauld said unto the world at 14/01/09 07:34 PM:
>>> "Brian van den Broek" <vanden at gmail.com> wrote
> <snip my account of Windows using friend unable to invoke python at DOS
> prompt and replies including Alan's suggestion to get a text file dump of
> environment variables.>
>> With the full path, python loads as expected. I'm awaiting the results of
>> SET > env.txt
>> as per Alan's suggestion above.
> Never fails. Shortly after posting, I got an answer back from the friend I'm
> trying to help.
> The (recognized by me as) relevant bits of output are:
> There is no subsequent Path line that might be stomping on the line shown
> I'm surprised that it is `Path' rather than `PATH'. Does that matter? I'm
> pretty sure that my friend didn't change that, as once he got into the `Edit
> System Variable' dialog, he felt uncertain and sent me a screen shot before
> he effected any modifications; the screen shot shows `Path'.
> Last, the texlive entry is from an installation of latex that I guided him
> through right before we installed python. Invoking latex from the command
> line works as expected, so I conclude that the Path is not broken.
>> If that doesn't clear it up for me, I shall report back.
> Didn't and did.
> Thanks and best,
> Tutor maillist - Tutor at python.org
More information about the Tutor