Most AI Pilots Fail to Scale. MIT Sloan Teaches You Why — and How to Fix It
NY State-Licensed Certificates in Design, Coding & AI — Online
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Learn how to programmatically sort a YouTube playlist by the most popular videos using Python in this 22-minute tutorial. Discover techniques to retrieve and analyze playlist data, create custom sorting algorithms, and generate a list of the most-watched videos. Explore the YouTube API, implement f-strings for formatting, and apply sorting and slicing methods to manipulate data effectively. Follow along with provided code samples and documentation links to enhance your Python skills and create practical solutions for managing YouTube content.
Syllabus
Intro
Overview of Previous Script
Playlist ID
Modify Script
Documentation
Creating YouTube Links
Creating a Global List
Print Video URLs
Print Video Length
Highest Views
List Slicing
Outro
Taught by
Corey Schafer