Difference between Module and Package

Download python eBook

Remarks

It is possible to put a Python package in a ZIP file, and use it that way if you add these lines to the beginning of your script:

import sys
sys.path.append("package.zip")

Related Examples

Stats

135 Contributors: 3
Monday, November 7, 2016
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook