John J. Lee
jjl at pobox.com
Tue Dec 23 21:12:05 CET 2003
lbray_103 at yahoo.com (MComp) writes:
> Hey guys, I'm another new to programming guy. I have one quick
> question. How do you make a program not forget everything you input,
> once it shuts down? Thanks in advance.
Once you've tried simple file manipulation (opening, reading, writing,
closing, and some of the stuff in os.path), look at the pickle module.
Don't get seduced by it too early, though, or you'll skip the learning
experience of struggling with parsing text files, which is good for
your soul ;-)
More information about the Python-list