Premium Only Content

CS50P - Lecture 9 - Et Cetera
TABLE OF CONTENTS
00:00:00 - Introduction
00:00:24 - Et Cetera
00:01:45 - set
00:07:37 - global
00:23:40 - Constants
00:29:17 - Type Hints, mypy
00:47:38 - Docstrings
00:54:54 - argparse
01:10:22 - Unpacking
01:37:25 - map
01:46:37 - List Comprehensions
01:52:30 - filter
01:58:34 - Dictionary Comprehensions
02:05:20 - enumerate
02:08:09 - Generators, Iterators, yield
02:23: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!
-
42:00
CS50 Harvard
2 months agoOffice Hours with Professor Malan and Yuliia Zhukovets CS50 Office
151 -
LIVE
Inverted World Live
4 hours agoDon't Approach the Zombie Rabbits | Ep. 95
3,347 watching -
LIVE
Drew Hernandez
48 minutes agoISRAEL PLANNING POSSIBLE DRAFT IN USA & TRUMP'S VIEW ON ETERNAL LIFE ANALYZED
747 watching -
3:08:07
TimcastIRL
3 hours agoTexas Republicans Win, House Passes Redistricting Map, GOP Looks To Gain 5 Seats | Timcast IRL
144K45 -
1:30:34
FreshandFit
4 hours agoHow To Stay Focused While Pursuing Women...The Good, The Bad, And The Ugly
30.9K20 -
1:47:05
Drew Hernandez
8 hours agoISRAEL PLANNING POSSIBLE DRAFT IN USA & TRUMP'S VIEW ON ETERNAL LIFE ANALYZED
20.2K55 -
29:55
Afshin Rattansi's Going Underground
3 days agoProf. Omer Bartov: The REAL REASON the US, UK, and EU Have Not Recognised Israel’s Genocide in Gaza
14.6K24 -
LIVE
SpartakusLIVE
5 hours agoWednesday WZ with the Challenge MASTER || Duos w/ GloryJean
404 watching -
2:36:12
Barry Cunningham
5 hours agoREACTING TO STEPHEN MILLER | KASH PATEL | TULSI GABBARD INTERVIEWS AND MORE NEWS!
62.3K53 -
LIVE
Alex Zedra
2 hours agoLIVE! Solo Scary Game night
294 watching