Nope, that's pretty much how to do it. You can use exec
if you want to as well.
Note you can import a list of modules by doing this:
>>> moduleNames =['sys','os','re','unittest']>>> moduleNames
['sys','os','re','unittest']>>> modules = map(__import__, moduleNames)