In Python (2.7), I'd like to create several variables in a file. Then use those variables in other files. There aren't any classes or function. Just accessing those variables from different files.
How is that done for the file containing variables, which might look like this?
variables.py
a = 1
b = 2
c = 3
Then in a file that wants to use those variables?
file1.py
print a + b