Post · 1 min read· p. 995

aerosandbox.tools.python.importing

Functions

lazy_import(name)Allows you to lazily import a module.

Module Contents

aerosandbox.tools.python.importing.lazy_import(name) : Allows you to lazily import a module.

code
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.