CS50’s Introduction to Programming with Python (CS50P)
Harvard University · online · ten weeks of lectures and problem sets, and a final project
A first course in programming, in Python: reading and writing code, handling errors, testing and debugging, then libraries, files, patterns in text and classes, ending with a project of your own. It suits people new to programming and people who know another language and want Python.
This logbook gives each week a session, so your questions sit at the minute of the lecture they came from and come back before the problem set.
Week 0 · Functions and variables: naming values and reusing steps
Week 1 · Conditionals: choosing what runs
Week 2 · Loops: doing something again and again
Week 3 · Exceptions: when things go wrong
Week 4 · Libraries: using code other people wrote
Week 5 · Unit tests: checking my own code
Week 6 · Files: keeping data after the program ends
Week 7 · Regular expressions: matching patterns in text
Week 8 · Object-oriented programming: making my own types
Week 9 · The rest: smaller features worth knowing
Final project
CS50P is Harvard University’s, shared under CC BY-NC-SA 4.0. This logbook is Soundings’ own: session names and questions written for it, nothing copied from the course.