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

Python Answers by Framework

Browse Popular Code Answers by Language