Answers for "import module using string"

1

how to import a module with a string?

import importlib

mymodule = importlib.import_module('matplotlib.text')
Posted by: Guest on June-09-2021

Code answers related to "import module using string"

Python Answers by Framework

Browse Popular Code Answers by Language