Best practices with import?

Gordon McMillan gmcm at hypernet.com
Thu Aug 2 18:47:01 EDT 2001


Chris Barker wrote:

[delaying imports]


> another option is:
> 
> class MyEngine:
>     import engine_support

But that's not a delayed import. It happens
at the time the module is loaded.

- Gordon




More information about the Python-list mailing list