Ask WomenCanCode

What are you looking for?

Say it or type it: "AI competitions I can enter from Nigeria", "what's on in London this week".

Ask searches this site's own pages. When a written answer appears, it is made by AI: check the links it gives.

Tracks · Beginner

Python, from the first line

Harvard's CS50P: programming with Python, how to read and write code, test it and debug it.

Open the course on Harvard University See the walk-throughs

The course

Course
CS50's Introduction to Programming with Python (CS50P)
Made by
Harvard University
Cost
Free
Language
Python

Even if you are not a student at Harvard, you are welcome to “take” this course for free via this OpenCourseWare

You can take CS50P before, during or after CS50x.

CS50's Introduction to Programming with Python (CS50P) is made and run by Harvard University, and it is free. We do not host or copy it: you learn on their site. The live walk-through, where your instructor works through it alongside you, is ours.

Weeks, as Harvard University names them

  1. Functions, Variables
  2. Conditionals
  3. Loops
  4. Exceptions
  5. Libraries
  6. Unit Tests
  7. File I/O
  8. Regular Expressions
  9. Object-Oriented Programming
  10. Et Cetera

A suggested pace

20 weeks at 5 to 6 hours a week. This is our suggestion, not the provider's; go slower whenever you need to.

  1. Weeks 1 to 8Functions, Variables to Exceptions
  2. Weeks 9 to 14Libraries to File I/O
  3. Weeks 15 to 20Regular Expressions to Et Cetera, and the final project

What you will build

  • The course's problem sets
  • A final project in Python

Instructor walk-throughs

Each day follows a free GitHub Skills exercise in your own GitHub account. GitHub Actions checks each step as you go, and the founder walks through it live.

  1. 01Functions and variables, togetherFunctions, Variables
  2. 02Loops without fearLoops

Dates and times: Dates, times and seats: To be announced. How the live sessions work

Checked on: CS50P, CS50P weeks (2026-11-03). Units listed in the provider's own words; the summary, pace and walk-throughs are ours.

All tracks