# main.py import aclass aclass.function(input) # aclass.py class aclass: def function(self): print 'A working function?!'