Handle failure, split code into modules, and read and write real data.
8 lessons · about 5 hours · free
Working code is not the same as robust code. This course covers exceptions and how to raise your own, assertions and defensive checks, and how to read a traceback instead of fearing it. Then it turns outward: importing modules, a tour of the standard library worth knowing by heart, JSON, and reading and writing text files.
Programs meet bad input, missing files and impossible requests. Deciding what happens next is your job.
Borrowing code from the standard library, and moving data in and out of your program.