On Sun, Aug 23, 2015 at 06:47:49PM +0200, Peter Otten wrote:

> > ... I was not in the directory, E:\Projects\mcm.  It is my
> > understanding that if I start in a particular directory when I invoke
> > Python, then it looks in that location first in PYTHONPATH.  
> 
> No, it looks in the location of the script, not in the working directory:

I'm gobsmacked. It appears you are correct, but I could have sworn that 
"." (the current working directory) was added to the path.

I could have sworn that I have seen "." at the front of sys.path, but 
apparently I must have dreamed it.


-- 
Steve
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to