Mathew K Analytics

Learn pathlib with free notebooks

34 free video lessons that use pathlib, each with a downloadable Jupyter notebook and, where needed, the dataset. Learn pathlib by working through real examples.

About these pathlib lessons

These 34 lessons come from 4 different courses, so you see pathlib used in several settings. The course with the most pathlib lessons is Social Media Content Analytics (23 lessons). 5 of the lessons include a real dataset to practise on.

pathlib is most often used here together with pandas, NumPy, YouTube Data API and Matplotlib.

Watch the video, then run the notebook yourself: changing the code and re-running it is the fastest way to learn.

Courses that use pathlib

Python Masterclass: Data Structures, OOP and Automation (Beginner Python Course, Part 4)1 h 1 min
Lesson 4

Python Masterclass: Data Structures, OOP and Automation (Beginner Python Course, Part 4)

📓 Notebook · openpyxl · collections · dataclasses

Python Debugging for Beginners: Read Errors, Fix Bugs, Write Tests (Beginner Python Course, Part 5)59 min
Lesson 5

Python Debugging for Beginners: Read Errors, Fix Bugs, Write Tests (Beginner Python Course, Part 5)

📓 Notebook · pytest · pathlib · logging

Python Regex & f-strings for Beginners: Clean Messy Text (Beginner Python Course, Part 6)58 min
Lesson 6

Python Regex & f-strings for Beginners: Clean Messy Text (Beginner Python Course, Part 6)

📓 Notebook · datetime · regex (re) · pathlib

Python datetime Tutorial: Dates, Time Zones & Reminders (Beginner Python Course, Part 7)56 min
Lesson 7

Python datetime Tutorial: Dates, Time Zones & Reminders (Beginner Python Course, Part 7)

📓 Notebook · datetime · pathlib · CSV

Automate Files & Folders with Python: pathlib, shutil, zipfile (Beginner Python Course, Part 8)58 min
Lesson 8

Automate Files & Folders with Python: pathlib, shutil, zipfile (Beginner Python Course, Part 8)

📓 Notebook · pathlib · datetime · CSV

SQLite with Python for Beginners: SQL Databases in 1 Hour (Beginner Python Course, Part 9)55 min
Lesson 9

SQLite with Python for Beginners: SQL Databases in 1 Hour (Beginner Python Course, Part 9)

📓 Notebook · JSON · pathlib · SQLite

Web Scraping & APIs for Beginners: requests + BeautifulSoup (Beginner Python Course, Part 10)56 min
Lesson 10

Web Scraping & APIs for Beginners: requests + BeautifulSoup (Beginner Python Course, Part 10)

📓 Notebook · JSON · pathlib · Requests

Python pathlib Explained: Modern File Paths Made Easy | Standard Library #220 min
Lesson 2

Python pathlib Explained: Modern File Paths Made Easy | Standard Library #2

📓 Notebook · pathlib

Build a Python CLI Tool from Scratch | Standard Library Capstone #2518 min
Lesson 25

Build a Python CLI Tool from Scratch | Standard Library Capstone #25

📊 Dataset · 📓 Notebook · argparse · dataclasses · pathlib

Install Pandas the Right Way and Fix Setup Errors for Good | Pandas Course #223 min
Lesson 2

Install Pandas the Right Way and Fix Setup Errors for Good | Pandas Course #2

📊 Dataset · 📓 Notebook · pandas · seaborn · pathlib

Pandas Series vs DataFrame Explained: The 2 Objects Behind Every Table | Pandas Course #325 min
Lesson 3

Pandas Series vs DataFrame Explained: The 2 Objects Behind Every Table | Pandas Course #3

📊 Dataset · 📓 Notebook · pathlib · pandas · Matplotlib

Introduction to Social Media and Content Analytics28 min
Lesson 1

Introduction to Social Media and Content Analytics

📓 Notebook · pandas · NumPy · pathlib

Social Media Analytics Workflow Using Python24 min
Lesson 4

Social Media Analytics Workflow Using Python

📓 Notebook · pandas · NumPy · pathlib

Setting Up Python and Jupyter for Social Media Analytics30 min
Lesson 5

Setting Up Python and Jupyter for Social Media Analytics

📓 Notebook · pandas · NumPy · pathlib

Python Basics for Social Media Data Analysis29 min
Lesson 6

Python Basics for Social Media Data Analysis

📓 Notebook · Matplotlib · pandas · NumPy

Loading Social Media Data from CSV and APIs31 min
Lesson 10

Loading Social Media Data from CSV and APIs

📊 Dataset · 📓 Notebook · pandas · NumPy · pathlib

Understanding Video Metadata: Title, Tags, Category30 min
Lesson 12

Understanding Video Metadata: Title, Tags, Category

📓 Notebook · pandas · NumPy · pathlib

Identifying Missing and Inconsistent Social Media Data26 min
Lesson 16

Identifying Missing and Inconsistent Social Media Data

📓 Notebook · pandas · NumPy · pathlib

Introduction to Audience Analytics28 min
Lesson 26

Introduction to Audience Analytics

📓 Notebook · pandas · NumPy · YouTube Data API

Analyzing Content Categories and Niches24 min
Lesson 34

Analyzing Content Categories and Niches

📓 Notebook · pandas · NumPy · pathlib

Detecting High-Impact Content Features23 min
Lesson 35

Detecting High-Impact Content Features

📓 Notebook · pandas · NumPy · pathlib

Thumbnail and Title Performance Analysis27 min
Lesson 37

Thumbnail and Title Performance Analysis

📓 Notebook · pandas · NumPy · Matplotlib

Designing Data-Driven Content Strategies29 min
Lesson 40

Designing Data-Driven Content Strategies

📓 Notebook · pandas · NumPy · Matplotlib

Introduction to Social Media APIs29 min
Lesson 41

Introduction to Social Media APIs

📓 Notebook · pandas · NumPy · pathlib

Extracting Data Using the YouTube Data API26 min
Lesson 42

Extracting Data Using the YouTube Data API

📓 Notebook · pandas · NumPy · pathlib

Scheduling Data Updates with Python29 min
Lesson 44

Scheduling Data Updates with Python

📊 Dataset · 📓 Notebook · pandas · NumPy · pathlib

Building Automated Content Analytics Systems32 min
Lesson 45

Building Automated Content Analytics Systems

📓 Notebook · Matplotlib · pandas · NumPy

Analyzing Growth in Views and Subscribers29 min
Lesson 47

Analyzing Growth in Views and Subscribers

📓 Notebook · pandas · NumPy · Matplotlib

Detecting Viral Spikes and Trends in Social Media Data31 min
Lesson 48

Detecting Viral Spikes and Trends in Social Media Data

📓 Notebook · pandas · NumPy · Matplotlib

Introduction to Machine Learning for Social Media30 min
Lesson 51

Introduction to Machine Learning for Social Media

📓 Notebook · scikit-learn · pandas · NumPy

Turning Social Media Data into Insights32 min
Lesson 56

Turning Social Media Data into Insights

📓 Notebook · Matplotlib · pandas · NumPy

Data Storytelling for Content Creators31 min
Lesson 58

Data Storytelling for Content Creators

📓 Notebook · pandas · NumPy · Matplotlib

End-to-End YouTube Analytics Project28 min
Lesson 61

End-to-End YouTube Analytics Project

📓 Notebook · Matplotlib · pandas · NumPy

Viral Video Detection: A Social Media Case Study24 min
Lesson 62

Viral Video Detection: A Social Media Case Study

📓 Notebook · pandas · NumPy · pathlib

Frequently asked questions

Where should I start learning pathlib?

Start with “Python Masterclass: Data Structures, OOP and Automation (Beginner Python Course, Part 4)”, then work through the Social Media Content Analytics course.

Are these pathlib lessons free?

Yes. Every video, notebook and dataset on this site is free to use for learning.

Can I run the pathlib notebooks without installing Python?

Yes. Open them in Google Colab, or use the Run in browser button where a lesson has one.