Module 7
Text and files
string methods, files, CSV, JSON
When you finish this module you can say:
I can read data from a file and save it back as CSV and JSON.
By the end of this module you'll be able to write a notebook that saves your notes to a file and loads them back when the program reopens.
StartLessons
6 lessons · ≈ 57 min
- Splitting and cleaning text9 min
- Reading from a file9 min
- Writing to a file9 min
- CSV: data shaped like a table9 min
- JSON: storing a dictionary9 min
- Project: Note-taking app12 min · project
Practice exercises
Short writing exercises, independent of the lessons: Go to the exercises