#//File: module1.py def printer(x): # module attribute print x #///////////////////////////////////////////////////////////////////////////// #//Main.py from module1 import printer # copy out one variable printer('Hello world!') # no need to qualify name