Intermediate1 h 45Free
Python: errors, files and data
Make your programs robust and able to remember: you handle errors instead of suffering them, read and write text, CSV and JSON files, then build a contact book that keeps its data from one run to the next.
Start the course
0 / 6 chapters completed
What you'll be able to do
- Catch an error with try/except and raise your own with raise
- Read and write text files with with open and pathlib
- Exchange data in CSV and JSON format
- Build a small program that keeps its data between two runs