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


Groups > comp.lang.python > #54850

Re: Convert namedtuple to dictionary

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <virendra.tripathi@maansystems.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.052
X-Spam-Evidence '*H*': 0.90; '*S*': 0.00; 'guys!': 0.09; 'dict': 0.16; 'follow-up': 0.16; 'received:169.254.11': 0.16; 'subject:Convert': 0.16; 'ignore': 0.16; 'written': 0.21; 'to:name :python-list@python.org': 0.22; 'earlier': 0.24; 'question': 0.24; 'script': 0.25; 'there.': 0.32; 'received:169.254': 0.32; 'thanks': 0.36; 'error.': 0.37; 'received:169': 0.37; 'received:10': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'charset:windows-1252': 0.65; 'therefore': 0.72; 'received:10.242': 0.84
From Virendra Tripathi <virendra.tripathi@maansystems.com>
To "python-list@python.org" <python-list@python.org>
Subject Re: Convert namedtuple to dictionary
Thread-Topic Convert namedtuple to dictionary
Thread-Index AQHOuuwVw6fJGBLE50m0NY8GAfmLOg==
Date Thu, 26 Sep 2013 19:10:38 +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:(199002)(189002)(80976001)(83322001)(74706001)(74662001)(4396001)(74502001)(31966008)(46102001)(47446002)(74876001)(65816001)(80022001)(81816001)(33656001)(81686001)(81342001)(81542001)(63696002)(47736001)(49866001)(53806001)(69226001)(56776001)(54316002)(77096001)(83072001)(74366001)(66066001)(76796001)(76482001)(56816003)(51856001)(76786001)(82746002)(47976001)(77982001)(558084003)(50986001)(76176001)(36756003)(59766001)(79102001)(54356001)(83716002); DIR:OUT; SFP:; SCL:1; SRVR:BY2PR04MB255; H:BY2PR04MB255.namprd04.prod.outlook.com; CLIP:64.71.23.190; FPR:; RD:InfoNoRecords; A:1; MX:1; LANG:en;
Content-Type text/plain; charset="Windows-1252"
Content-ID <A1F639B375CD2C419B720610FF56A663@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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.368.1380222651.18130.python-list@python.org> (permalink)
Lines 6
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1380222651 news.xs4all.nl 15960 [2001:888:2000:d::a6]:49879
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:54850

Show key headers only | View raw


Thanks guys! BTW, please ignore the follow-up question there. I had written a script earlier which had a dict like:

{'a':[x=10, y=23,..], 'b': [x=10, y=23,…],…..}

I was thinking about that and therefore the error. Apologies.

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 19:10 +0000

csiph-web