aerosandbox.tools.python.importing¶
Functions¶
|
Allows you to lazily import a module. |
Module Contents¶
- aerosandbox.tools.python.importing.lazy_import(name)[source]¶
Allows you to lazily import a module.
Usage: >>> asb = lazy_import(“aerosandbox”) # Runs instantly >>> asb.Airplane() # When this is called, ASB will be loaded.
- Parameters:
name – The package name
Returns: The module itself, to be loaded on first use.