Skip to main content
Free certificateBeginnerProgramming

CS50's Introduction to Programming with Python

Harvard's dedicated Python course: functions to unit tests, regex and object-oriented programming.

Taught byHarvard Online

About this course

CS50P is a Python-only course from Harvard's CS50 team. Ten weeks cover functions, conditionals, loops, exceptions, libraries, unit tests, file I/O, regular expressions and object-oriented programming, with weekly problem sets and a final project.

Best for: Beginners who want a rigorous Python-first course.

What you will be able to do

  • Write and structure Python programs
  • Handle errors and test code with pytest
  • Read and write files
  • Use regular expressions and classes

Syllabus and your progress

Tick modules off as you finish them on Harvard Online.

0 of 8 modules done

Plan your pace

At 4 hours a week you would finish in about 15 weeks, using the course time estimate above.

Progress is saved in this browser only. No account needed.

Cost and certificate

Free certificate

Free CS50 certificate from Harvard's OpenCourseWare for completing the work; an edX verified certificate costs extra.

Harvard Online sets the terms and can change them. Check the course page before you commit serious time, and tell us if something changed.

Quick answers

Is CS50's Introduction to Programming with Python really free?
Yes, the course material is free on Harvard Online. Free CS50 certificate from Harvard's OpenCourseWare for completing the work; an edX verified certificate costs extra.
How long does CS50's Introduction to Programming with Python take?
Plan for about 60 hrs in total (Editorial estimate; the provider does not publish a total. Ten weeks of lectures and problem sets.). It is self-paced, so you can go faster or slower.
Do I need experience before CS50's Introduction to Programming with Python?
No. It is a beginner course with no prerequisites listed.

CS50's Introduction to Programming with Python

Free certificate

Start on Harvard Online