get location using python code example
Example 1: python get current file location
import os
os.path.dirname(os.path.abspath(__file__))
Example 2: find location of a class in python
import sys, os
os.path.abspath(sys.modules[LocationArtifact.__module__].__file__)