Randall Smith wrote: > How do I import a module when given the module name as input? > import modname exec "import "+your_module_name > from modname import * exec "from %s import %s" % (your_module_name, your_imported_symbol) HTH, Irmen.