python import module with string code example
Example: python how to import a module given a stringg
import importlib
i = importlib.import_module("matplotlib.text")
import importlib
i = importlib.import_module("matplotlib.text")