In lieu of a course textbook, assigned readings are mainly the Notes and Examples from lecture. It is a good idea to skim the assigned reading before the lecture for the main ideas, attend lecture, and then to go through the assigned reading again to fill in the details that you missed, both in your initial skim of the reading and in the lecture.
| Date |
Lecture Topics |
Readings |
Assigned Work |
| Week 0 |
| Lectures |
- Course introduction
- What is Python?
- What are software libraries?
- Designing and writing larger programs (briefly)
- Launching a Python shell
- Expressions and evaluation
- Types, objects, numbers, and operators
- Variables
- Values have types; variables do not
- Naming conventions
- Statements
- Booleans
- Writing Python scripts
- Printing output and reading input
|
|
|
| Week 1 |
| Lectures |
- Strings
- Conversions between types
- Conditionality using the
if statement
- Truth testing and "truthiness"
- Repetition using the
while loop
- Ranges
- Iteration using the
for loop
- Abstraction
- Writing functions
- Parameters and arguments
- Type checking and type errors
- Scope and scoping rules
|
|
|
| M 9/28 |
|
|
|
| W 9/30 |
|
|
|
| F 10/2 |
|
|
|
| Week 2 |
| Lectures |
- Built-in data structures in Python
- Tuples
- Lists
- Type annotations (briefly)
- Files and the built-in
open function
- Why it's important to close files
- Higher-level file access
- File systems and related modules in Python's standard library
- Paths
- Exceptions and exception handling
try statements
try, except, else, and finally clauses
|
|
|
| F 10/9 |
|
|
|
| Week 3 |
|
|
|
|
| Week 4 |
|
|
|
|
| W 10/21 |
|
|
|
| Week 5 |
|
|
|
|
| Week 6 |
|
|
|
|
| Week 7 |
| W 11/11 |
- University Holiday: Veterans Day — NO LECTURE TODAY
|
|
|
| Week 8 |
|
|
|
|
| Week 9 |
| Th 11/26 |
- University Holiday: Thanksgiving — NO LECTURE TODAY
|
|
|
| F 11/27 |
- University Holiday: Thanksgiving — NO LABS TODAY
|
|
|
| Week 10 |
|
|
|
|
| Finals Week |
| Th 12/10 |
- FINAL EXAM: 7:00pm-9:00pm, BS3 1200
|
|
|