TABLE OF CONTENTS00:00:00 - Introduction00:00:24 - Libraries00:00:54 - Modules00:03:13 - import00:07:35 - from00:11:23 - randint, shuffle00:17:01 - statistics00:19:13 - Command-line Arguments, sys00:32:59 - sys.exit00:40:55 - Slices00:44:41 - Packages, PyPI, pip00:47:10 - cowsay00:53:26 - APIs, requests, JSON01:10:06 - 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.Register for free at https://cs50.edx.org/python. Slides and source code at https://cs50.harvard.edu/python.***HOW TO SUBSCRIBEhttp://www.youtube.com/subscription_center?add_user=cs50tvHOW TO TAKE CS50edX: https://cs50.edx.org/Harvard Extension School: https://cs50.harvard.edu/extensionHarvard Summer School: https://cs50.harvard.edu/summerOpenCourseWare: https://cs50.harvard.edu/xHOW TO JOIN CS50 COMMUNITIESDiscord: https://discord.gg/T8QZqRxEd: https://cs50.harvard.edu/x/edFacebook Group: https://www.facebook.com/groups/cs50/Faceboook Page: https://www.facebook.com/cs50/GitHub: https://github.com/cs50Gitter: https://gitter.im/cs50/xInstagram: https://instagram.com/cs50LinkedIn Group: https://www.linkedin.com/groups/7437240/LinkedIn Page: https://www.linkedin.com/school/cs50/Reddit: https://www.reddit.com/r/cs50/Quora: https://www.quora.com/topic/CS50Slack: https://cs50.edx.org/slackSnapchat: https://www.snapchat.com/add/cs50Twitter: https://twitter.com/cs50YouTube: http://www.youtube.com/cs50HOW TO FOLLOW DAVID J. MALANFacebook: https://www.facebook.com/dmalanGitHub: https://github.com/dmalanInstagram: https://www.instagram.com/davidjmalan/LinkedIn: https://www.linkedin.com/in/malan/Quora: https://www.quora.com/profile/David-J-MalanTwitter: https://twitter.com/davidjmalan***CS50 SHOPhttps://cs50.harvardshop.com/***LICENSECC BY-NC-SA 4.0Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public Licensehttps://creativecommons.org/licenses/by-nc-sa/4.0/David J. Malanhttps://cs.harvard.edu/malanmalan@harvard.edu - Default - 1233808

CS50P - Lecture 4 - Libraries

CS50P - Lecture 4 - Libraries

1 week
0 Views
Want to watch this again later?
Sign in to add this video to a playlist. Login
0 0
Category:
Description:
TABLE OF CONTENTS

00:00:00 - Introduction
00:00:24 - Libraries
00:00:54 - Modules
00:03:13 - import
00:07:35 - from
00:11:23 - randint, shuffle
00:17:01 - statistics
00:19:13 - Command-line Arguments, sys
00:32:59 - sys.exit
00:40:55 - Slices
00:44:41 - Packages, PyPI, pip
00:47:10 - cowsay
00:53:26 - APIs, requests, JSON
01:10:06 - 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.

Register for free at https://cs50.edx.org/python. Slides and source code at https://cs50.harvard.edu/python.

***

HOW TO SUBSCRIBE
http://www.youtube.com/subscription_center?add_user=cs50tv

HOW TO TAKE CS50

edX: https://cs50.edx.org/
Harvard Extension School: https://cs50.harvard.edu/extension
Harvard Summer School: https://cs50.harvard.edu/summer
OpenCourseWare: https://cs50.harvard.edu/x

HOW TO JOIN CS50 COMMUNITIES

Discord: https://discord.gg/T8QZqRx
Ed: https://cs50.harvard.edu/x/ed
Facebook Group: https://www.facebook.com/groups/cs50/
Faceboook Page: https://www.facebook.com/cs50/
GitHub: https://github.com/cs50
Gitter: https://gitter.im/cs50/x
Instagram: https://instagram.com/cs50
LinkedIn Group: https://www.linkedin.com/groups/7437240/
LinkedIn Page: https://www.linkedin.com/school/cs50/
Reddit: https://www.reddit.com/r/cs50/
Quora: https://www.quora.com/topic/CS50
Slack: https://cs50.edx.org/slack
Snapchat: https://www.snapchat.com/add/cs50
Twitter: https://twitter.com/cs50
YouTube: http://www.youtube.com/cs50

HOW TO FOLLOW DAVID J. MALAN

Facebook: https://www.facebook.com/dmalan
GitHub: https://github.com/dmalan
Instagram: https://www.instagram.com/davidjmalan/
LinkedIn: https://www.linkedin.com/in/malan/
Quora: https://www.quora.com/profile/David-J-Malan
Twitter: https://twitter.com/davidjmalan

***

CS50 SHOP
https://cs50.harvardshop.com/

***

LICENSE

CC BY-NC-SA 4.0
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License https://creativecommons.org/licenses/by-nc-sa/4.0/

David J. Malan https://cs.harvard.edu/malan
malan@harvard.edu
Up Next Autoplay