Python 3.4 - Packages

Packages contain many modules that can be used in your code. Importing packages takes a little more work, but can draw upon many modules.

It’s important to keep in mind that all packages are modules, but not all modules are packages. Or put another way, packages are just a special kind of module. Specifically, any module that contains a __path__ attribute is considered a package.

https://stackoverflow.com/questions/7948494/whats-the-difference-between-a-python-module-and-a-python-package 

https://www.youtube.com/watch?v=aJeb1j_dlOA

Comments

Popular posts from this blog

Python 3.4 - Caesar Cipher

UML - Use Case Diagram