Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Harvard University

CS50's Introduction to Programming with Python

Harvard University via edX


An introduction to programming using a language called Python. Learn how to read and write code as well as how to test and "debug" it. Designed for students with or without prior programming experience who'd like to learn Python specifically. Learn about functions, arguments, and return values (oh my!); variables and types; conditionals and Boolean expressions; and loops. Learn how to handle exceptions, find and fix bugs, and write unit tests; use third-party libraries; validate and extract data with regular expressions; model real-world entities with classes, objects, methods, and properties; and read and write files. Hands-on opportunities for lots of practice. Exercises inspired by real-world programming problems. No software required except for a web browser, or you can write code on your own PC or Mac.

Whereas CS50x itself focuses on computer science more generally as well as programming with C, Python, SQL, and JavaScript, this course, aka CS50P, is entirely focused on programming with Python. You can take CS50P before CS50x, during CS50x, or after CS50x. But for an introduction to computer science itself, you should still take CS50x!

Taught by

David J. Malan


5.0 rating, based on 1 Class Central review

Start your review of CS50's Introduction to Programming with Python

  • Profile image for Ael ID
    Ael ID
    My goal is to succeed in my studies and take the highest ranks in electronics: informatics in general and my wish is to become the most successful person in the world, but my circumstances do not allow me to complete my path to success, unfortunately even my family sees that informatics is a very silly and profitable thing, and I hope you will appreciate my circumstances and then achieve my goal
    Thank you

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.