a newbie question

Nick Coghlan ncoghlan at iinet.net.au
Thu Dec 9 03:51:35 EST 2004


Peter Hansen wrote:
> If that's not what you wanted, try specifying what you mean
> by "preinstalled python libraries".  I can think of at least
> two things that this phrase might refer to...

For the "where's the standard library" interpretation, the following works on 
any platform:

  python -c "import pdb; print pdb.__file__"

The rest of the standard library will be in the same directory as pdb.pyc.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at email.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.skystorm.net



More information about the Python-list mailing list