Can't get python running

bartc bc at freeuk.com
Sun Jan 21 07:06:07 EST 2018


On 21/01/2018 01:52, Chris Angelico wrote:
> On Sun, Jan 21, 2018 at 12:40 PM, bartc <bc at freeuk.com> wrote:

>> Get it working anywhere first to find out what the problem is.
>>
> 
> Get it working in the default location before you change things. The
> %PATH% environment variable exists to save you from typing seven
> levels of directory names.

That's fine when everything works as it should.

It's less ideal depending on %PATH% when trying to figure out what's 
gone wrong, as you don't know if it's set up properly, or whether the 
new path is appended or prepended to %PATH%, or whether there is some 
other py.exe or python.exe lurking in a search path that is checked first.

Also, if you have a command prompt already open, then its %PATH% will 
not be updated.

-- 
bart



More information about the Python-list mailing list