Answers for "how to import a module in python from a 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 "how to import a module in python from a string"

Python Answers by Framework

Browse Popular Code Answers by Language