frame.f_code.co_filename
Verfasst: Samstag 19. Februar 2005, 17:09
Hallo,
Kann mir jemand erklaeren was frame.f_code.co_filename macht?Wenn ich z.B den Path von ConfigParser.py wissen will bekomme ich "/var/tmp/python-2.2.2-root/usr/local/lib/python2.2/ConfigParser.py" als Ergebnis,und dass ist nicht der wirkliche Path.
Kann ich irgendwie erfahren wo alle Library Files von Python sind?
Danke.
Kann mir jemand erklaeren was frame.f_code.co_filename macht?Wenn ich z.B den Path von ConfigParser.py wissen will bekomme ich "/var/tmp/python-2.2.2-root/usr/local/lib/python2.2/ConfigParser.py" als Ergebnis,und dass ist nicht der wirkliche Path.
Kann ich irgendwie erfahren wo alle Library Files von Python sind?
Danke.