Page 173 -
P. 173

persistence


           Generic file I/O with pickle is the way to go!












                           Now, no matter what data you create
                           and process in your Python programs,
                           you have a simple, tested, tried-
                           and-true mechanism for saving and
                           restoring your data. How cool is that?



































           Python takes care of your file I/O details, so you can concentrate on what
           your code actually does or needs to do.
          As you’ve seen, being able to work with, save, and restore data in lists is a
           breeze, thanks to Python. But what other data structures does Python
           support out of  the box?


           Let’s dive into Chapter 5 to find out.

                                                                                      you are here 4    137
   168   169   170   171   172   173   174   175   176   177   178