dump a multi dimensional dictionary

Chris Angelico rosuav at gmail.com
Fri Jul 26 19:33:58 EDT 2013


On Fri, Jul 26, 2013 at 9:21 PM, cerr <ron.eggler at gmail.com> wrote:
>     >>> mylist = []
>     >>> mydict = {}
>     >>> mylist = '1','2'


Side point: mylist is no longer a list, it's a tuple. I don't think
pickle has problems with tuples, but it's worth noting that
difference.

ChrisA



More information about the Python-list mailing list