「klass」という名前のクラスを持つ、階層的な「folder2」内に「module」という名前のモジュールがあるとします。
角括弧構文のようにクラスを取得するにはどうすればよいですか?
module = __import__('folder1.folder2.module', fromlist='*')
sbs_module = module['klass']
#lets say we print a value from the method getValue
print sbs_module.getValue()