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