This might work: >>> import os >>> print os.__file__ c:\devtools\Python25\lib\os.pyc
Also, you might find Doug Hellman's "Python Module Of The Week" helpful: http://www.doughellmann.com/projects/PyMOTW/ On 7/5/08, Nathan Farrar <[EMAIL PROTECTED]> wrote: > > I'd like to spend some time exploring the standard library. I'm running > python on Ubuntu. How would I find the location of the modules (find / > -name "os.py" does not yield results)? > > Thanks! > Nathan > > _______________________________________________ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > >
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor