Python ImportsΒΆ
Following is from David Beazley's talk.
import fooandfrom foo import barboth execute the entirefoomodule. The latter is NOT a "smart" import in any way-
Imported functions record their definition environment
-
__init__.pycan be used to stitch multiple modules together.