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!
-
LIVE
Bannons War Room
9 days agoWarRoom Live
17,859 watching -
2:17:39
Matt Kohrs
11 hours agoBREAKING MARKET NEWS: Bounce or Bust?! || The MK Show
33.1K1 -
47:26
BonginoReport
4 hours agoEpstein Files Drop Today-But How Much Will They Reveal? (Ep.149) - 02/27/2025
94.8K120 -
Wendy Bell Radio
6 hours agoThe Left Is Wrong About Everything
71.2K45 -
29:05
CatfishedOnline
20 hours ago $3.48 earnedThe Real Jennifer Aniston or Another Romance Scam?
34.8K9 -
34:44
LFA TV
5 days agoMIRACLES DO HAPPEN!
65.5K3 -
16:43
T-SPLY
5 hours agoCNN Panel Member Forgets Donald Trump Runs The Military
40.1K20 -
31:13
World Nomac
1 day agoAMERICAN visits IRAN for 10 days (this is what I found) 🇮🇷
36.6K4 -
1:03:55
The Tom Renz Show
11 hours agoBongino In At FBI & Is Factory Meat Made of Cancer?
40.6K7 -
7:03
Dangerous Freedom
19 hours ago $0.82 earnedBest Tiny Budget Red Dot? (Honest Review - Gideon Optics Judge).
23.5K2