[Tutor] Reading module to import from a string

Shrutarshi Basu technorapture at gmail.com
Mon Dec 15 23:38:51 CET 2008


Suppose I have a module that I want to import called ImMod1 that's
saved in a variable like so:

var = "ImMod1"

Is there some way to import ImMod1 by using var?
Thanks,
Basu
-- 
The ByteBaker :
http://www.bytebaker.com


More information about the Tutor mailing list