[FAQTS] Python Knowledge Base Update -- September 19th, 2000
Mike Fletcher
mfletch at tpresence.com
Tue Sep 19 02:14:28 EDT 2000
Regarding unanswered:
def modulePath( module ):
import os
return os.path.abspath( module.__file__ )
Would be my first response...
HTH,
Mike
-----Original Message-----
From: Fiona Czuczman [mailto:fiona at sitegnome.com]
Sent: Tuesday, September 19, 2000 1:59 AM
To: python-list at python.org
Subject: [FAQTS] Python Knowledge Base Update -- September 19th, 2000
Hi Guys,
The latest entries into http://python.faqts.com
cheers,
Fiona
## Unanswered Questions ########################################
-------------------------------------------------------------
How do I get the full pathname of a module? Let's say I use 'import' to
load a module. How can I find the location of its *.py or *.pyc file?
http://www.faqts.com/knowledge-base/view.phtml/aid/5918
-------------------------------------------------------------
Rolf Freimuth
...
More information about the Python-list
mailing list