how we can pass a variable in one file to another file in python code example Example: how to import a variable from another python file from file1 import x1 print(x1)