Snippets tagged “dynamic-import”
1 snippet uses this tag.
- Calling a function of a module by using its name (a string)Python
To call a function from a module by using its name as a string, you can use the importlib module.
1 snippet uses this tag.
To call a function from a module by using its name as a string, you can use the importlib module.