Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.034 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'assume': 0.14; "wouldn't": 0.14; 'dict': 0.16; 'received:169.254.11': 0.16; 'subject:Convert': 0.16; 'tuple': 0.16; 'thanks,': 0.17; 'thanks.': 0.20; 'to:name:python-list@python.org': 0.22; 'example.': 0.24; 'refers': 0.24; 'function': 0.29; 'getting': 0.31; 'tuples': 0.31; 'received:169.254': 0.32; 'operate': 0.35; 'charset:us-ascii': 0.36; 'received:169': 0.37; 'received:10': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'first': 0.61; 'received:10.242': 0.84 From: Virendra Tripathi To: "python-list@python.org" Subject: Re: Convert namedtuple to dictionary Thread-Topic: Convert namedtuple to dictionary Thread-Index: AQHOutxDw6fJGBLE50m0NY8GAfmLOg== Date: Thu, 26 Sep 2013 17:17:22 +0000 Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [64.71.23.190] x-forefront-prvs: 0981815F2F x-forefront-antispam-report: SFV:NSPM; SFS:(189002)(199002)(164054003)(80976001)(69226001)(47446002)(59766001)(74706001)(47736001)(81542001)(558084003)(50986001)(4396001)(74662001)(74502001)(31966008)(47976001)(36756003)(53806001)(81342001)(49866001)(66066001)(46102001)(77982001)(83072001)(54316002)(76482001)(76176001)(56816003)(76786001)(51856001)(65816001)(74366001)(54356001)(77096001)(79102001)(80022001)(63696002)(76796001)(33656001)(81816001)(74876001)(83322001)(82746002)(56776001)(81686001)(83716002); DIR:OUT; SFP:; SCL:1; SRVR:BY2PR04MB253; H:BY2PR04MB255.namprd04.prod.outlook.com; CLIP:64.71.23.190; FPR:; RD:InfoNoRecords; MX:1; A:1; LANG:en; Content-Type: text/plain; charset="us-ascii" Content-ID: <6372238F386EFF4383D81442033B2A90@namprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: maansystems.com X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1380215856 news.xs4all.nl 15881 [2001:888:2000:d::a6]:46607 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54842 Hi Ned, Thanks. Wouldn't I have to first create a function to pull out the 'dictdic= t' 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 nam= ed tuples from the dict and operate on it. Thanks, Virendra=