pythonbeginner

Importlib Dynamic

Advanced Python pattern: importlib-dynamic

python
import importlib

math = importlib.import_module('math')
print(math.sqrt(16))

Use Cases

  • advanced programming
  • patterns

Tags

Related Snippets

Similar patterns you can reuse in the same workflow.