Premium Only Content

CS50P - Lecture 8 - Object-Oriented Programming
TABLE OF CONTENTS
00:00:00 - Introduction
00:00:24 - Object-Oriented Programming
00:01:00 - Tuples
00:18:39 - Dictionaries
00:26:45 - Classes and Objects
00:39:18 - Instance Methods
00:59:49 - Validating Attributes
01:04:25 - The String Method
01:11:13 - Custom Methods
01:20:43 - Properties, Getters, and Setters
01:42:33 - Types and Classes
01:50:29 - Class Methods
02:21:10 - Inheritance
02:35:29 - Operator Overloading
02:50:03 - Conclusion
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!
-
2:20
CS50 Harvard
6 months agoInvitation to CS50x Puzzle Day 2025
311 -
LIVE
The Shannon Joy Show
2 hours agoMoody’s: Recession Incoming! Economic Slowdown Crushing Americans while Trump builds a ballroom
201 watching -
LIVE
The Mel K Show
1 hour agoMORNINGS WITH MEL K -Armor of God: Humanity Must Choose their Destiny 10-6-25
620 watching -
LIVE
LFA TV
17 hours agoLIVE & BREAKING NEWS! | MONDAY 10/6/25
4,194 watching -
LIVE
Trumpet Daily
56 minutes agoTrumpet Daily LIVE | October 6, 2025
304 watching -
Tudor Dixon
2 hours agoRep. Tim Burchett on the Government Shutdown & Leadership Crisis | The Tudor Dixon Podcast
50 -
DVR
Bannons War Room
7 months agoWarRoom Live
39.5M9.13K -
1:01:24
VINCE
3 hours agoDomestic Terrorism Is Spreading, And Fast | Episode 140 - 10/06/25
132K149 -
40:58
Clownfish TV
6 hours agoHollywood is BROKE and JOBLESS?! Animation Most Affected! | Clownfish TV
8.84K8 -
2:02:27
Benny Johnson
2 hours agoTrump Deploys National Guard to Chicago as Democrat Leader Caught CALLING For Murder of Republicans
32.6K37