All Images

Introduction


Virtual Environments


Figure 1

XKCD comic about python environments showing a tangled web of a user python setup
XKCD - “Python Environment”

Figure 2

Checking that uv is installed by running "uv --version"
Checking that UV is installed

Figure 3

Files created by running "uv init"
Files created by “uv init”

Figure 4

You should see something like this: The output of the "sys.executable" command showing the location of the python executable before activating the virtual environment


Figure 5

The Github interface for creating a new repository
Creating a new repository

Figure 6

The Github interface showing the initial commit
New repository with initial commit

Python Bits and Bobs


Iterables and Generators


Collections & Iterables


The Logging Module


Decorators & Caching


Creating A Module


Class Objects


Figure 1

Bank Account Class object example
Bank Account Class object example

Figure 2

Bank Account Instance example
Bank Account Instance Example

More On Class Objects


Extending Classes with Inheritance


Figure 1

Class diagram showing inheritance from BankAccount to SavingsAccount and CheckingAccount
Class diagram showing the BankAccount class as a parent class, with SavingsAccount and CheckingAccount as child classes that inherit from BankAccount.

Unit Testing


Inheritance and Composition


Figure 1

BankAccount Class object example
BankAccount Class object example

Figure 2

BankAccount Inheritance example
BankAccount Inheritance example

Static Code Analysis


Building and Deploying a Package


Figure 1

GitHub Actions Tab with a Workflow
GitHub Actions & Workflow

Figure 2

GitHub Actions Successful Build
GitHub Actions Running

Multiprocessing