Find Python module filename
python, python-2.7
Solution
You could check the value of `__file__`:
>>> import genericpath
>>> genericpath.__file__
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/genericpath.pyc'
Problem
I got module name which contains declaration of `os.path.isfile`. Jedi lib gave me `genericpath` (without file path). Now i want to get full filename of PY file with this `genericpath` module. E.g. "C:\Py27\Lib\genericpath.py". How can I do it? Jedi cannot do it?