Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51325
| References | <efdc6f6b-c061-4d3d-9d02-c397f8953d93@googlegroups.com> |
|---|---|
| Date | 2013-07-27 00:33 +0100 |
| Subject | Re: dump a multi dimensional dictionary |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5159.1374881646.3114.python-list@python.org> (permalink) |
On Fri, Jul 26, 2013 at 9:21 PM, cerr <ron.eggler@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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
dump a multi dimensional dictionary cerr <ron.eggler@gmail.com> - 2013-07-26 13:21 -0700 Re: dump a multi dimensional dictionary John Gordon <gordon@panix.com> - 2013-07-26 21:00 +0000 RE: dump a multi dimensional dictionary "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2013-07-26 20:40 +0000 Re: dump a multi dimensional dictionary Chris Angelico <rosuav@gmail.com> - 2013-07-27 00:33 +0100 Re: dump a multi dimensional dictionary Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-27 02:54 +0000
csiph-web