how to print the file path in python using a variable code example Example: print python path variable import sys print(sys.path)