python print path of function code example Example: print python path variable import sys print(sys.path)