Table of Contents
- Basics
- If / Else / Boolean
- Strings
- Collections / Lists
- Loops and Iteration
- Functions
- Image Processing
- File input/output
- Object Oriented Programming
- Text Game Project
Python Basics
If / Else / Boolean
- Boolean Conditions
- Code blocks, Indents, Colons
- if / else: Branching Logic
- elif Branches
- nested if/else structures
- Trivia Assignment (if/else logic)
- Sandwich Chooser Assignment
Python Strings
Collections
Loops and Iteration
- While loops
- While loops checklist
- For loops
- range() function
- For loops with range() Checklist
- For loops with lists
- Common List and Loop Algorithms
- For loops with lists – Practice
- Nested For Loops
- Nested For Loops – Checklist
- Substitution Cipher Assignment
Functions
- Functions
- Variable scope
- Functions – IPO Problems 1
- Functions – IPO Problems 2
- Functions – IPO Problems 3
- Functions – IPO Problems 4
- Functions checklist – beginning
- Functions checklist – science equations
- Functions checklist – medium
- Functions to try – math tasks
- Color Functions Assignment
- Functions – Caeser Cipher
Error Handling
File Input / Output
- Read and Write Text Files
- Text Files Practice
- JSON data
- Read CSV Files (no imports)
- Read CSV Files (import pandas)
- CSV Intro Practice
- CSV Files Practice
Object Oriented / Objects / Classes
Miscellaneous Python
Text Game Project
- Text Game Project Overview
- Text Game Input Handling Systems
- Game and Player Data Systems
- Location / Map Systems
Other Project Info / Ideas
- Deck of Cards Project
- Probabilistic Simulation Example
- Probabilistic Simulation Project
- Iterative Prisoner’s Dilemma Info
- Prisoner’s Dilemma files (v2019 for Python 3)
Image Processing
- Importing PIL (Pillow)
- Intro to Pillow
- Image Modes
- Image Pixel Data
- Pasting in PIL
- Paste with transparent background
- Removing an Image Background
- Images Practice Assignment
- Adding a Watermark
- Loop Through Image Pixels
- Adding Text in PIL
- Image Opacity – Alpha Channel – Masks
- Plaid Dog Silhouette Example
- Alpha Mask Gradients
- Drawing a Gradient
- HSV Colors / Rainbow Gradient
- ImageOps functions
- Python Image Library – ImageDraw
- Create Animated GIF image
- Python Image Art Project Info
Other Assignments (not used in Fall 2024)
- Python Image Algorithm Project
- Images Practice Assignment
- Image Pixel Loops Practice Assignment
- Graphic Design ImageDraw Assignment
Graphical User Interfaces (GUI)
- Python GUI Tkinter
- Tkinter in Python 3
- Tkinter Text Entry
- Tkinter Click Counter
- Tkinter Time Delay
- Add Images to Tkinter GUI
- Tkinter Canvas
- Python Tkinter GUI Project