How do you determine which file is imported in Python with an "import" statement?
Posted
by litghost
on Stack Overflow
See other posts from Stack Overflow
or by litghost
Published on 2010-03-30T04:02:18Z
Indexed on
2010/03/30
4:13 UTC
Read the original article
Hit count: 227
How do you determine which file is imported in Python with an "import" statement?
I am want to determine that I am loading the correct version of a locally modified .py file. Basically the equivalent of "which" in a POSIX environment.
© Stack Overflow or respective owner