Harvard CS50P
Official source · Harvard OpenCourseWare
Starter outline
- Week 0 · Functions, Variables
Write a function that returns a value - Week 1 · Conditionals
Use branches to choose an outcome - Week 2 · Loops
Use a loop to summarize records - Week 3 · Exceptions
Handle invalid input with an exception - Week 4 · Libraries
Use a library for a small task - Week 5 · Unit Tests
Test a function with normal and edge cases - Week 6 · File I/O
Read and write a small data file - Week 7 · Regular Expressions
Extract a field using a pattern - Week 8 · Object-Oriented Programming
Model a record with a Python class - Week 9 · Et Cetera
Use a generator to process one item at a time - Final Project
Plan a small Python program and its tests