import inspect inspect.getfile(C.__class__)
import sys, os os.path.abspath(sys.modules[LocationArtifact.__module__].__file__)