[Py] Import times and deferring

Some dependencies are very heavy and the recommendation is then to defer their import. A deferred import happens within a function, instead of the beginning of a module. The advantage of deferred imports is that only the first time the dependency is needed, it is then imported, instead of causing a high overhead import time when a program is launched. Especially, for cases in which that dependency…