[Tutor] can't import module

Kent Johnson kent37 at tds.net
Sun Jul 2 21:44:33 CEST 2006


Dave S wrote:
> One question, where is the rest of PYTHONPATH defined, my section in .bashrc 
> is only the first part, where do you get to define the /usr/lib part ?

Much of sys.path is set up in site.py in the standard library. This 
module is always imported when the interpreter starts up. Read the 
source for details...

Kent



More information about the Tutor mailing list