Task

The goal is to get the source code or file path and line number where a programming object (e.g. module, class, function, method) is defined.




import os
os.__file__
# "/usr/local/lib/python3.5/os.pyc"
 