CS50's Introduction to Programming with Python
Harvard's CS50P: learn to program elegantly in Python from scratch.
15h 54m
On-demand video
11
Lessons
Included
Certificate
Mobile & TV
Watch anywhere

Videos are free to watch. This unlocks the certificate, graded exam, and resources.
Watch videos freeOr unlock everything with MegaCourse Pro
This course includes:
- 15h 54m on-demand video (free)
- 11 lessons
- Full lifetime access
- Access on mobile and TV
- Certificate of completion
What you'll learn
- Write clean, idiomatic Python
- Master functions, exceptions, and object-oriented programming
- Test and debug code with confidence
- Work with files, regular expressions, and libraries
Official study guide
The complete 23-page companion book for CS50's Introduction to Programming with Python, covering every module with worked examples, key terms, self-check questions, and a full glossary. Print it or read it offline.
Tools & technologies
Industry-standard tools you'll work with in this course.
Course content
2 sections · 11 lessons · 15h 54m- CS50P - IntroductionPreview4m
- CS50P - Lecture 0 - Functions, Variables1h 45m
- CS50P - Lecture 1 - Conditionals56m
- CS50P - Lecture 2 - Loops1h 20m
- CS50P - Lecture 3 - Exceptions44m
- CS50P - Lecture 4 - Libraries1h 17m
- CS50P - Lecture 5 - Unit Tests50m
- CS50P - Lecture 6 - File I/O1h 32m
Requirements
- •No prior experience required
About this course
Harvard's CS50P: learn to program elegantly in Python from scratch. This curated learning path is organized into 2 modules and 11 lessons, taught by CS50. MegaCourse adds structure, learning outcomes, progress tracking, and a shareable certificate of completion.
Who this course is for
- Beginner programmers
- Anyone learning their first language
Instructor
Trusted creator on MegaCourse
Licensing & attribution
License: CC BY-NC-SA 4.0
Source: Harvard CS50 (David J. Malan) - CC BY-NC-SA 4.0
Videos are embedded from their original creators and remain free to watch. MegaCourse's paid layer covers our own study guides, graded exams, certificates, and curation.
Students also viewed

Development
Python for Beginners: Full Course
Telusko

Development
Java for Beginners
Telusko

Development
JavaScript Full Course (2026)
Shradha Khapra

Development
Flutter for Beginners
Net Ninja


