From: Vaduvoiu Tiberiu > Well, to quote firefox: this is embarrassing. I've realized the dictionary initialization is wrong, as [] means its a tuple, I should use {}. That's why I > don't like working nights..it's only in the morning when you start seeing things better. I apologize for the mail. Cheers
[] is for lists. () is for tuples. HTH. Octavian
-- http://mail.python.org/mailman/listinfo/python-list