Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #54842

Re: Convert namedtuple to dictionary

From Virendra Tripathi <virendra.tripathi@maansystems.com>
Subject Re: Convert namedtuple to dictionary
Date 2013-09-26 17:17 +0000
Newsgroups comp.lang.python
Message-ID <mailman.362.1380215856.18130.python-list@python.org> (permalink)

Show all headers | View raw


Hi Ned,

Thanks. Wouldn't I have to first create a function to pull out the 'dictdict' from the data? I assume 'dictdict' refers to the 'brucelee' named tuple in the example. That's where I was getting stuck-trying to pull out the named tuples from the dict and operate on it.

Thanks,

Virendra

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Convert namedtuple to dictionary Virendra Tripathi <virendra.tripathi@maansystems.com> - 2013-09-26 17:17 +0000

csiph-web