x='fred'
import x
this should be the same as
import fred
I need to do this because I don't know what modules I need and what to load
then at runtime depending on what is happening in the program.
Thanks in advance.
ps please e-mail me the answer as well as posting here.
--+------------------------------------+ | Ben Suffolk | +------------------------------------+ | Email B.Suffolk@bs47c.staffs.ac.uk | +------------------------------------+