Programming and Algorithms: Week 27

Banner

Modules and Packages

What are we doing this week?


This week we are going to look at MODULES and PACKAGES in PYTHON, as well as ACCESS CONTROL and THIRD-PARTY LIBRARIES.

Python Python Logo

Modules are Files, Packages are folders

Powerpoint: Packages and Modules




Powerpoint: Access Control



Powerpoint: Third-Party Libraries




Total running time of videos is 30 minutes.

Sample Code:
Format-string * SecretString * __init__


Python: Modules and Packages


How to download and install Python Packages and Modules with Pip



Links
LearnPython: Modules and Packages
http://www.learnpython.org/en/Modules_and_Packages

The Hitchhiker's Guide to Python: Structuring Your Project
http://docs.python-guide.org/en/latest/writing/structure/

Jython
: Modules and Packages
http://www.jython.org/jythonbook/en/1.0/ModulesPackages.html


Lab #27
Lab #27 is all about checking if what you have learned in the episodes above all makes sense, and if you can use modules and packages in Python.




Back

If you have any suggestions, corrections, or comments, please feel free to e-mail me at:
Damian.Gordon(a)dit.ie