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.
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.