Create Python Packages and Modules

Project #1

Create one or more packages from the modules found HERE . Convert any project that you have completed to use the packages.

Note: Instead of using the example modules provided, create your own.

Links

5 Tips To Organize Python Code (YouTube)

Modules vs Packages vs Libraries (YouTube)

What does '__init__.py' do in Python? (YouTube)

Python Deep Dive: Modules, Packages & Virtual Environments Explained (YouTube)

MASTER Python Modules With this 1 video! (YouTube)

For Example

mypackage __init__.py coordinate_conversion.py graphics.py transformation_matrix.py user_interface.py

# graphics Demo from mypackage import coordinate_conversion as cc from mypackage import transformation_matrix as tm from mypackage import user_interface as ui from mypackage import graphics as gr import numpy as np import sys import os ... ... ...