python comment importer un module étant donné un stringg

import importlib

i = importlib.import_module("matplotlib.text")
Spotless Sloth