python import variables from other file code example
Example 1: how to import a variable from another python file
from file1 import x1
print(x1)
Example 2: how to request a variable from imported file python
from file1 import *
#now use x1, x2..