Learn how to use lazy imports to speed up the startup time of your Python applications.
Python 3.15 introduced explicit lazy imports. An explicit lazy import is an import statement that starts with the keyword lazy:
import json lazy import math lazy from pathlib import PathThe module json is imported normally, but math and P...