0:00 / 0:00
CS50P - Lecture 4 - Libraries
CS50
2.5M subscribers • 35 videos on Hallway • University channel
- One of the most-watched uploads on CS50, a conference or university channel Hallway lists. Nobody has recommended it in the communities yet, so it ranks below community picks.
- Presented by David J. Malan
Beginner. No background in the topic needed.
603K views4 years ago
Programming languagesTools and practicePythonHTTP, REST and GraphQL
David J. Malan explains how to use Python modules, command-line arguments, third-party packages via pip, and APIs.
This is CS50P, CS50's Introduction to Programming with Python. Enroll for free at cs50.edx.org/python. Slides, source code, and more at cs50.harvard.edu/python. Playlist at youtube.com/playlist?list=PLhQjrBD2T3817j24-GogXmWqO5Q5vYy0V. TABLE OF CONTENTS - Introduction - Libraries - Modules - import - from - randint, shuffle - statistics - Command-line Arguments, sys - sys.exit - Slices - Packages, PyPI, pip - cowsay - APIs, requests, JSON - Custom Libraries 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! *** HOW TO SUBSCRIBE youtube.com/subscription_center?add_user=cs50tv HOW TO TAKE CS50 edX: cs50.edx.org/ Harvard Extension School: cs50.harvard.edu/extension Harvard Summer School: cs50.harvard.edu/summer OpenCourseWare: cs50.harvard.edu/x HOW TO JOIN CS50 COMMUNITIES Discord: discord.gg/cs50 Ed: cs50.harvard.edu/x/ed Facebook Group: facebook.com/groups/cs50/ Faceboook Page: facebook.com/cs50/ GitHub: github.com/cs50 Gitter: gitter.im/cs50/x Instagram: instagram.com/cs50 LinkedIn Group: linkedin.com/groups/7437240/ LinkedIn Page: linkedin.com/school/cs50/ Medium: cs50.medium.com/ Quora: quora.com/topic/CS50 Reddit: reddit.com/r/cs50/ Slack: cs50.edx.org/slack Snapchat: snapchat.com/add/cs50 SoundCloud: soundcloud.com/cs50 Stack Exchange: cs50.stackexchange.com/ TikTok: tiktok.com/@cs50 Twitter: twitter.com/cs50 YouTube: youtube.com/cs50 HOW TO FOLLOW DAVID J. MALAN Facebook: facebook.com/dmalan GitHub: github.com/dmalan Instagram: instagWhy it's here
A top upload from a listed channelCS50 is on Hallway's list of conference and university channels, and this upload is one of its most-watched talks or lectures. Nobody has recommended it in the communities yet, so it ranks below community picks.