[Tutor] class data
Mon, 3 Dec 2001 12:52:15 -0500 (EST)
This was my understanding of it also; but classes apparently contain their
own __dict__. I was kind of hoping it would get pickled along with the
rest. If it did, I have no clue how to access the data.
- fleet -
On Mon, 3 Dec 2001, Lloyd Kvam wrote:
> addrbook.py contains the python instructions to implement the addressbook. It does NOT contain
> the data that makes up the addressbook. pickling is used to save the data that was entered
> using the addrbook module.
> If you give someone your addrbook.py module, you are giving them a computer program.
> You are NOT giving them your addressbook.