PYTHONPATH on PC

David Smith drs at hpl.hp.com
Wed Feb 23 14:34:26 EST 2000


Mikael Olofsson wrote:

> I thought you were supposed to do
>
> import sys
> sys.path.append('whateverpath')
> import yourmodule
>
> At least that's what I do on Unix.

Yes, you're right.  That works.  And now, I don't know why I couldn't remember
or find this: I have even been over that territory before.  I guess it's just
part of learning a bunch of new stuff at once.  Thanks a lot.

    David Smith





More information about the Python-list mailing list