sys.path supports zipfiles: Importing modules from an archive

sys.path supports zipfiles: Importing modules from an archive

sys.path tells Python where to look when importing a module.

Think of it as a list of directories. But it also handles zipfiles.

A zipfile in sys.path is treated as a directory. Files in the zipfile can be imported.