from small import x, y # copy two names out print x = 42 # changes my x only
#////////////////////////////////////////////////////////////////////////// #//Main4.py import small # get module name print small.x = 42 # changes x in other module
Related Scripts with Example Source Code in same category :