Automate the Boring Stuff with Python - Part 12: Debugging

preview_player
Показать описание
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.

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
Рекомендации по теме
Комментарии
Автор

I did exactly the same thing for the boxPrint.py and unfortunately I'm getting errors such as 'str' object is not callable perhaps you missed a comma. Print (symbol + (' '(width - 2)) + symbol)
I'm using python 3.10 on VS code

garypungu
Автор

What is the next paln? Are you going to build some applications using python(Django) full stack? that will be awesome. Great as always :)

jemaltahir
Автор

i really like your video but it needs to be in dark mode

nicow