[Tutor] (no subject)

2005-02-13 Thread Johan Kohler
Hi I still have problems pickling and unpickling. After I couldn't get "complicated" objects to work, i decided to use simple lists. But now there seems to be a difference between assigning a list value, and using the .append method. Please try out the code at http://goose.cs.und.ac.za/python/sa

[Tutor] Have I run into a limitation of Pickle?

2005-02-07 Thread Johan Kohler
Hi, In the attached code, I'm trying to pickle and unpickle (1) an object containing a list of dictionaries. (2) an object containing a list objects each containing a dictionary. Case (1) seems to work (printing succesfully), - Running '/home/johan/prog/ratings/testpickle2.py' ... {'tel': 1234,