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 | [EMAIL PROTECTED] | Brisbane, Australia --------------------------------------------------------------- http://boredomandlaziness.skystorm.net -- http://mail.python.org/mailman/listinfo/python-list