9. Files and Exceptions
In this chapter, you’ll:
Understand the notions of files and persistent data.
Read, write and update files.
Read and write CSV files, a common format for machine-learning datasets.
Serialize objects into the JSON data-interchange format—commonly used to transmit over the Internet—and deserialize JSON into objects. ...
Get Python for Programmers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.