import myModule as myModule
myModule.printY()
print(myModule.variableY)
myModule.variableX = 10
print(myModule.variableX)
myModule.printX()
How to declare global variable that is visible to imported module functions