In this chapter you’ll learn to read
about exceptions and how to handle the exceptions you’re likely to see in
your programs. Finally, you will learn how to store Python data structures so
you can save information your users provide, preventing them from having
to start over each time they run a program.
You’ll learn about exceptions, which are
special objects Python creates to manage errors that arise while a program
is running. You’ll also learn about the json module, which allows you to save
user data so it isn’t lost when your program stops running.
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
00:15 - Introduction
00:37 - What you will learn.
00:58 - Exceptions
02:03 - Handling the ZeroDivisionError Exception
03:00 - Using try-except Blocks
04:47 - Using Exceptions to Prevent Crashes
07:13 - The else Block
09:55 - Handling the FileNotFoundError Exception
12:55 - Analysing Text
16:12 - Working with Multiple Files
20:00 - Failing Silently
22:15 - Deciding Which Errors to Report
23:23 - 1st Set of Challenges
23:45 - Answers of the 1st Set of Challenges
35:37 - Storing Data
37:00 - Using json.dump() and json.load()
40:35 - Saving and Reading User-Generated Data
45:00 - 2nd Set of Challenges
45:15 - Answers of the 2nd Set of Challenges
50:45 - Summary
51:25 - Testing Your Code (Next Topic)
51:40 - Wrap up
Key main topics covered:
1) Exceptions
2) Using try-except Blocks
3) Analysing Text
4) Using json
5) Storing Data
Click the PayPal Donate Link below to support my YouTube channel, if you have found these videos helpful with your studies:
https://www.paypal.com/donate/?hosted...
Don't forget to subscribe for more!
Instagram:https://www.instagram.com/tutoringaib...
Facebook: / tutoringaibest
#program #programmers #programming #programmer #codeuniverse #peoplewhocode #technology #beautyoftechnology #minimalism #javascript #softwareengineer #pythonlearning #computerscience #coder #python3 #pythoncode #pythonprogramming #GCSE #Coding #Alevels #binary #networks #lists