When is a module imported from the standard library?

Emile van Sebille emile at fenx.com
Wed Aug 22 17:17:57 CEST 2001

It looks like getpath.c looks for os.py to set things up, so perhaps:

o = os.popen('''python -S -c "import sys, os;print

then back off the file name?


Emile van Sebille
emile at fenx.com

"Dinu Gherman" <dinu at reportlab.com> wrote in message
news:3b83a95c.9205446 at news.t-online.de...
> Well, there is no standard mandating it has to end in 'lib'.
> On a Unix installation I could have '...lib/python2.1/' say...
> Dinu

More information about the Python-list mailing list