#100DaysOfCode in Python Transcripts
Chapter: Days 25-27: Error handling
Lecture: Your turn: Day 1
0:00 Now you've seen how error handling
0:01 works in Python,
0:02 it's time to put it into action for your code.
0:05 Before we get started, I just want to make the point
0:07 that one of the key differentiators
0:08 of professional programs and applications
0:11 as opposed to simple scripts that
0:14 people just throw together, or code that beginners write,
0:17 really often has to do with the error handling
0:20 and ability to continue working when something goes wrong.
0:24 This error handling and exception processing in Python
0:28 that we just covered that is really central to it.
0:30 Professional apps still crash of course,
0:33 we still run into problems,
0:34 but they do so much less often
0:36 and when they do we typically have logging
0:38 and real-time error monitoring with things like Rollbar
0:42 to let us know and so when they happen
0:44 we get lots of details and we go back and fix them.
0:46 That sort of hardens our app over time.
0:49 Right, so your goal is to add this error handling
0:52 to one of the applications.
0:53 So you've already watched the video so that's great.
0:56 The thing you're going to do for Day 1
0:58 is you're going to go and look through the applications
1:01 you've already created as part of
1:02 this #100DaysOfCode challenge.
1:04 Or if you want to pick something else
1:06 that you've maybe written outside of this course
1:08 you're also welcome to pick that,
1:10 and we're going to take that application and improve it.
1:12 So that's today, you've already done most of the learning
1:15 and then just pick the app you're going to work on
1:17 for the next two days.