Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

libpath

Status
Not open for further replies.

beveronic

Technical User
Dec 17, 2004
10
DE
Hi,
Does anyone know how can i get the path where the Python libraries are?For example when doing
frame.f_code.co_filename for a ConfigParser.py file,I obtain the path:
/var/tmp/python-2.2.2-root/usr/local/lib/python2.2/ConfigParser.py which is by the way not a real path.
But how can I find out this symbolic path in advance so that for all files in /var/tmp/python-2.2.2-root/usr/local/lib/python2.2 I do something with them.
Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top