[Dominik Kotowicz] > mainprog.py : > > import module1 > > function_name = raw_input() > > #and here I type: 'foo' and I would like call this functionwith Here ya go: functionwith = getattr(module1, function_name) // m -