Page 141 -
P. 141
4 persistence
Saving data to files
I’m in a bit of a pickle...my
data is not as persistent as
it could be.
It is truly great to be able to process your file-based data.
But what happens to your data when you’re done? Of course, it’s best to save your
data to a disk file, which allows you to use it again at some later date and time. Taking
your memory-based data and storing it to disk is what persistence is all about. Python
supports all the usual tools for writing to files and also provides some cool facilities for
efficiently storing Python data. So…flip the page and let’s get started learning them.
this is a new chapter 105