Introductory Python

David Blaikie

Fall, 2025


SUMMARY OF COURSE CONTENT
required items in bold, optional in italics
slides the core content
in-class exercises demos and challenges in class, with solutions: also should be used for practice
pythonreference.com Session Features: a summary of statements, functions and operators discussed in each session
videos demos of the week's content
flashcards (30 mins. per calendar week required) an app to assist in memorizing language elements
project warmup exercises short practice programs with solutions: entirely optional if you want more practice
homework projects required program assignments
source data the week's supporting data, exercise scripts and notebooks


HOW TO USE THIS SITE
  1. each week, review the slides and Session Features for this session on pythonreference.com
  2. optionally, review the content videos for the week
  3. attend class and follow the in-class and lab challenge exercises
  4. complete 30 minutes of training in the flashcards app
  5. practice with as many of the week's inclass exercises as you can; if you desire more practice, try the supplementary warmup exercises
  6. then with pythonreference.com at your side, complete the homework projects for the week

REFERENCE DOCUMENTS
Getting Started Register on
School System
How to Study Homework Requirements Style Requirements Glossary Python 3 Quicksheet Command Line Reference
pdf pdf pdf pdf      html pdf      html pdf pdf pdf      html


Class Slides and Readings

Note: the slides are presented in three forms: the "Single Topic Pages", each of which cover a specific topic; the "slideshow", which is a continuous sequence of slides spanning all topics; and a single page linked as "All Slides" below -- useful for text searching. The material contained in each of these three is the same.
 

Session 1 -- Objects, Object Types, Functions and Operators

   Readings How to Study
Register on School System
Session Features
Executive Summary
 
   Slides slideshow
   Slides as Single Topic Pages
      Introduction; Installations and Setup slide page
      Your New Partner: the Python Interpreter slide page
      Executing Programs and Using the Lab Exercises slide page
      Creating and Identifying Objects by Type slide page
      Math and String Operators slide page
      Built-In Functions slide page
 
 
   In-Class Exercises in-class exercises
exercise solutions
 
 
   Homework Projects and Warmup Exercises

(Note that only Homework Projects are to be turned in. Warmup and inclass xercises come with solutions and are not to be turned in.
Project Warmup Exercises
Project Warmup Exercise Solutions

Homework Projects
Project Discussion
 
 

Session 2 -- Conditionals and Blocks; Object Methods

   Readings Homework Requirements
Style Requirements
(optional) Using the PyCharm Debugger
Session Features
Executive Summary
 
   Slides slideshow
   Slides as Single Topic Pages
      Conditionals and Blocks; Object Methods slide page
      The 'while' Statement and Looping slide page
      Object Methods slide page
 
 
   In-Class Exercises in-class exercises
exercise solutions
 
 
   Homework Projects and Warmup Exercises

(Note that only Homework Projects are to be turned in. Warmup and inclass xercises come with solutions and are not to be turned in.
Project Warmup Exercises
Project Warmup Exercise Solutions

Homework Projects
Project Discussion
 
 

Session 3 -- Parsing String and File Data: Strings, Lists, Files

   Readings Session Features
Executive Summary
 
   Slides slideshow
   Slides as Single Topic Pages
      Data Parsing & Extraction: String Methods slide page
      Data Parsing & Extraction: List Operations and String Slicing slide page
      Data Parsing & Extraction: File Operations and the 'for' Loop slide page
      Optional: modules for accessing databases, CSV, SQL, JSON and the internet slide page
 
 
   In-Class Exercises in-class exercises
exercise solutions
 
 
   Homework Projects and Warmup Exercises

(Note that only Homework Projects are to be turned in. Warmup and inclass xercises come with solutions and are not to be turned in.
Project Warmup Exercises
Project Warmup Exercise Solutions

Homework Projects
Project Discussion
 
 

Session 4 -- Summarizing Data with Containers: Lists, Tuples, Sets

   Readings Session Features
Executive Summary
 
   Slides slideshow
   Slides as Single Topic Pages
      Filepaths for Locating Files slide page
      Containers: More List Operations slide page
      Containers: Tuples and Sets slide page
      Building Up Containers from File slide page
 
 
   In-Class Exercises in-class exercises
exercise solutions
 
 
   Homework Projects and Warmup Exercises

(Note that only Homework Projects are to be turned in. Warmup and inclass xercises come with solutions and are not to be turned in.
Project Warmup Exercises
Project Warmup Exercise Solutions

Homework Projects
Project Discussion
 
 

Session 5 -- Dictionaries; Sorting; Trapping Exceptions

   Readings Command Line Reference
Session Features
Executive Summary
 
   Slides slideshow
   Slides as Single Topic Pages
      Dictionaries: Lookup Tables slide page
      Dictionaries: Rankings slide page
      Dictionaries: Aggregations slide page
      Exception Trapping slide page
 
 
   In-Class Exercises in-class exercises
exercise solutions
 
 
   Homework Projects and Warmup Exercises

(Note that only Homework Projects are to be turned in. Warmup and inclass xercises come with solutions and are not to be turned in.
Project Warmup Exercises
Project Warmup Exercise Solutions

Homework Projects
Project Discussion
 
 

Session 6 -- Multidimensional Containers

   Readings Session Features
Executive Summary
 
   Slides slideshow
   Slides as Single Topic Pages
      Command Line: Moving Around and Executing a Script slide page
      The JSON File Format and Multidimensional Containers slide page
 
 
   In-Class Exercises in-class exercises
exercise solutions
 
 
   Homework Projects and Warmup Exercises

(Note that only Homework Projects are to be turned in. Warmup and inclass xercises come with solutions and are not to be turned in.
Project Warmup Exercises
Project Warmup Exercise Solutions

Homework Projects
Project Discussion
 
 

Session 7 -- Introduction to Functions; Power Tools for Filtering and Transforming

   Readings Session Features
Executive Summary
 
   Slides slideshow
   Slides as Single Topic Pages
      Introduction to User-Defined Functions slide page
      Set Operations, List Comprehensions slide page
 
 
   In-Class Exercises in-class exercises
exercise solutions
 
 
   Homework Projects and Warmup Exercises

(Note that only Homework Projects are to be turned in. Warmup and inclass xercises come with solutions and are not to be turned in.
Project Warmup Exercises
Project Warmup Exercise Solutions

Homework Projects
Project Discussion
 
 

Session 8 -- Files and Directories

   Readings Session Features
Executive Summary
 
   Slides slideshow
   Slides as Single Topic Pages
      The Command Prompt: Program Arguments slide page
      File Tests and Manipulations slide page
      File and Directory Listings slide page
 
 
   In-Class Exercises in-class exercises
exercise solutions
 
 
   Homework Projects and Warmup Exercises

(Note that only Homework Projects are to be turned in. Warmup and inclass xercises come with solutions and are not to be turned in.
Project Warmup Exercises
Project Warmup Exercise Solutions

Homework Projects
Project Discussion
 
 

Session 9 -- Functions, Modules and Code Organization

   Readings Session Features
Executive Summary
 
   Slides slideshow
   Slides as Single Topic Pages
      More About User-Defined Functions slide page
      User-Defined Function Variable Scoping slide page
      Modules in Python slide page
 
 
   In-Class Exercises in-class exercises
exercise solutions
 
 
   Homework Projects and Warmup Exercises

(Note that only Homework Projects are to be turned in. Warmup and inclass xercises come with solutions and are not to be turned in.
Project Warmup Exercises
Project Warmup Exercise Solutions

Homework Projects
Project Discussion
 
 

Session 10 -- (Optional) Classes and Next Steps

 
   Slides slideshow
   Slides as Single Topic Pages
      Useful Modules slide page
      User-Defined Classes and Object-Oriented Programming slide page
 
 
   In-Class Exercises in-class exercises
exercise solutions
 
 
   Homework Projects and Warmup Exercises

(Note that only Homework Projects are to be turned in. Warmup and inclass xercises come with solutions and are not to be turned in.
Project Warmup Exercises
Project Warmup Exercise Solutions

Homework Projects
Project Discussion
 
 
 
 

python 3

All Slides All Slides on One Page





entire website ©2021 David Blaikie