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
Replit.com
(Fast way to start programming)
Python with Prybar Template – includes an interactive console.
(Click the “+ Use Template” button to create this type of Repl)
Getting Started with Python using VS Code
If you have your own computer, you might prefer to run your code locally using an IDE (Integrated Development Environment) software such as VS Code. Probably not possible on your school computer due to lack of admin privileges.
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)
Python Strings
Collections
Loops and Iteration
- While loops
- While loops checklist
- For loops
- For loops with range() Checklist
- For loops with lists
- For loops with lists – Practice
- Nested For Loops
- Nested For Loops – Checklist
- Substitution Cipher Assignment
Functions
- Functions
- Variable scope
- 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
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
- Pasting in PIL
- Paste with transparent background
- Removing an Image Background
- Adding a Watermark
- Image Pixel Data
- Loop Through Image Pixels
- Adding Text in PIL
- Python Image Functions Assignment
- Image Opacity – Alpha Channel – Masks
- Plaid Dog Silhouette Example
- Alpha Mask Gradients
- HSV Colors / Rainbow Gradient
- 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