os.getcwd sys.argv[0] os.path.abspath(__file__) inspect.getfile(inspect.currentframe())
file_path = os.path.dirname(os.path.abspath(__file__))
file_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), NameOfOtherDataRelativeToYourScript)
import sys cur = filter(None, sys.path)[0]