Python programs are set to get faster startup times with PEP 810 "Explicit lazy imports," which allows scripts to defer loading imported libraries until they're actually needed rather than at startup.
Improving startup speed. Simplifying packages with optional dependencies. Typing imports that don't need to be loaded at run time. There are a few mechanisms in Python for lazy imports right now. All ...