[Tutor] sys.path.append import python3 not working
duxbuz at hotmail.com
Wed Feb 5 12:46:09 CET 2014
Ok even more strangely it is working in the original location.
Am now not 100% sure that I have the folder structure correct.
I will keep a eye on it.
To: tutor at python.org
From: davea at davea.name
Date: Wed, 5 Feb 2014 06:32:46 -0500
Subject: Re: [Tutor] sys.path.append import python3 not working
Ian D <duxbuz at hotmail.com> Wrote in message:
> import sys
> I have tried it with append("d:\\modules") append("d:/\modules")
The first form is not reasonable, you'd need to double the
backslash. But your second try should have worked. Here's what I
I would suggest printing sys.path from your code, just in case.
I would then check the actual directory name and module name,
especially for case. Windows may not usually care about case, but
sometimes it does matter.
Finally I'd run the python with the -v switch, and see what it
Tutor maillist - Tutor at python.org
To unsubscribe or change subscription options:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor