How do packages and .pth files work under Windows (Py 2.0)

Stuart sgm103 at
Tue Dec 5 08:27:10 EST 2000

> It would help me enormously if there were a way to get Python to print
> out a list of where it looks when it tries to resolve an "import". Is
> this possible?

I'm not certain, but i think this does the trick:

import sys
print sys.path



More information about the Python-list mailing list