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!
-
8:00:09
SpartakusLIVE
11 hours agoDuos w/ Twitty || The TITAN of WZ and the King of Ping
68.6K2 -
1:26:08
Laura Loomer
8 hours agoEP110: How I Got Hunter Biden's Secret Service Detail Revoked
71.8K49 -
1:30:10
Man in America
13 hours agoScientists Find MASSIVE 2KM Structure Under Pyramids—Our History is a LIE!
74K45 -
1:15:34
Slightly Offensive
9 hours ago $14.99 earnedIt’s HAPPENING: The TOTAL COLLAPSE of Con INC. | Guest: Sarah Stock & AusPill
74.9K28 -
1:19:59
Glenn Greenwald
13 hours agoLife-Long Leftist Philosopher Susan Neiman on how Wokeism Assaults and Subverts Traditional Left-Wing Politics | SYSTEM UPDATE #427
121K145 -
2:00:55
megimu32
10 hours agoON THE SUBJECT: 90s & 2000s Nostalgia, MySpace Drama, AIM Meltdowns & Sleepover Chaos!
55.8K16 -
46:45
BonginoReport
12 hours agoMajority of Jobs Created Under Biden Went To ILLEGALS! (Ep. 09) - Nightly Scroll with Hayley 03/20/2025
143K103 -
54:52
Donald Trump Jr.
12 hours agoDems vs Common Sense, Plus LIVE Q&A | Triggered Ep226p
134K131 -
1:40:13
Kim Iversen
13 hours agoThe Ultimate COVID Hoax? Why RFK Jr’s Researcher Says the Virus Never Existed!
134K298 -
41:03
Kimberly Guilfoyle
15 hours agoTrump approval up, Dems melting down. Live with Asm Bill Essayli & Jarrett Stepman | Ep206
126K42