python use variable in another file

from OtherFile import Variable
#this assumes the 2 files are in the same folder, if not see here: 
'''
 https://stackoverflow.com/questions/4383571/importing-files-from-different-folder
'''

Here is what the above code is Doing:
1. It’s importing the module named ‘OtherFile’
2. It’s importing the variable named ‘Variable’ from the module ‘OtherFile’
3. It’s creating a new variable named ‘Variable’ in the current module that is equal to the ‘Variable’ in the ‘OtherFile’ module