Automate the Boring Stuff with Python - Part 12: Debugging

Published: 07 May 2022
on channel: Learning Python
2,314
38

Learn Python programming to automate your daily work, e.g. web scraping, working with Excel documents and Google Drive.
We cover chapter 11 of the book Automate the boring stuff with Python by Al Sweigart - covering debugging in Python.
Follow along to learn Python programming and make your life easier with automation.

Link to book (Amazon): https://amzn.to/3DY0C1G
Read for free online: https://automatetheboringstuff.com/2e...

Music (Epidemic sound): https://bit.ly/3JD0PZk
Song: The Uneven Path - Trevor Kowalski

Timestamps:
0:00 - Introduction
0:50 - Raising Exceptions
5:15 - Getting the Traceback as a String
6:30 - Assertions
8:24 - Using an Assertion in a Traffic Light Simulation
10:43 - Logging
13:32 - Logging Levels
16:20 - Logging to a File
16:43 - Mu's Debugger
20:20 - Practice Questions