[Tutor] Do not understand why test is running.
steve at pearwood.info
Mon Aug 24 03:41:50 CEST 2015
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.
More information about the Tutor