Object Orientated Programming: Week 3

Banner

Modules and Packages

LEARNING OBJECTIVES


This week we are going to look at:

1. Introducing MODULES and PACKAGES
2..Introducing ACCESS CONTROL
3..Introducing THIRD-PARTY LIBRARIES

Python 


Powerpoint: Packages and Modules

Powerpoint: Access Control

Powerpoint: Third-Party Libraries


Two page summary


Videos:
Packages and Modules




Access Control



Third-Party Libraries




Sample Code:
Format-string * SecretString * __init__

Python IntrepreterCode in Action



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/

Real Python: Modules and Packages
https://realpython.com/python-modules-packages/



Lab #3
Lab #3 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.X.Gordon(a)tudublin.ie