Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #15723
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ramit.prasad@jpmorgan.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.006 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'completeness': 0.05; 'python': 0.08; 'subject:Extracting': 0.09; 'cc:addr:python-list': 0.15; '"del"': 0.16; '712': 0.16; 'currencies': 0.16; 'disclaimers': 0.16; 'disclaimers,': 0.16; 'from:addr:jpmorgan.com': 0.16; 'received:155.180': 0.16; 'received:159.53': 0.16; 'received:169.70': 0.16; 'received:169.70.184': 0.16; 'received:172.18.0': 0.16; 'received:bankone.net': 0.16; 'received:exchad.jpmchase.net': 0.16; 'received:jpmchase.com': 0.16; 'received:jpmchase.net': 0.16; 'received:svr.bankone.net': 0.16; 'securities,': 0.16; 'url:disclosures': 0.16; 'url:jpmorgan': 0.16; 'header:In-Reply- To:1': 0.23; 'cc:2**0': 0.25; 'statement': 0.25; 'cc:addr:python.org': 0.29; 'received:155': 0.30; 'received:159': 0.30; 'subject:?': 0.31; 'quite': 0.32; 'received:169': 0.34; 'received:169.254': 0.34; 'phone:': 0.34; 'skip:" 20': 0.35; 'header:Received:8': 0.36; 'subject:lists': 0.36; 'charset:us- ascii': 0.36; 'accuracy': 0.36; 'but': 0.37; 'why': 0.39; 'subject:: ': 0.39; 'subject': 0.61; 'information,': 0.66; 'legal': 0.71; 'url:email': 0.72; 'sale': 0.75; 'bank': 0.76; 'investment': 0.77; 'purchase': 0.84; 'received:169.254.8': 0.84; 'subject:over': 0.84 |
| X-DKIM | Sendmail DKIM Filter v2.8.4 sz2.jpmchase.com pAFH1jk9023849 |
| DKIM-Signature | v=1; a=rsa-sha256; c=simple/simple; d=jpmorgan.com; s=smtpout; t=1321376506; bh=2iHoL53cmYls2vHZ9U8PWSMh/3SIEcKLZMccuxaq73U=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Transfer-Encoding:MIME-Version:Content-Type; b=F6jLxix1jI5fyjteZl/1GJnZBUmy1yfgo0BAqxLt3o+ZXFzggOfQOF35YBTMlp+bG PFFqX8wwSsDDZOKMZRaCmBOi/DOY43u4jC0bo3T+ag4AtokJ6Qj6uXoMcdQNXA57Qk /JOuyCF/ORxdHxU9k0LZevRkcRnfip78VCmtstL4= |
| From | "Prasad, Ramit" <ramit.prasad@jpmorgan.com> |
| To | Jean-Michel Pichavant <jeanmichel@sequans.com> |
| Subject | RE: Extracting elements over multiple lists? |
| Thread-Topic | Extracting elements over multiple lists? |
| Thread-Index | AcydflPw04W2VyaCT32mwsWIS6x9JgGOa1Jg |
| Date | Tue, 15 Nov 2011 17:01:23 +0000 |
| References | <b9e53a75-7490-4b6a-844a-20cfce263939@a12g2000vbz.googlegroups.com> <j995eq$vr9$1@news.univ-fcomte.fr> <cf007146-3a08-44c4-bf01-d1a9253c83e3@o19g2000vbk.googlegroups.com> <4EB828B3.1020509@sequans.com> |
| In-Reply-To | <4EB828B3.1020509@sequans.com> |
| Accept-Language | en-US |
| Content-Language | en-US |
| X-MS-Has-Attach | |
| X-MS-TNEF-Correlator | |
| x-originating-ip | [10.67.79.38] |
| Content-Transfer-Encoding | quoted-printable |
| MIME-Version | 1.0 |
| X-DLP-FWD | Yes |
| Content-Type | text/plain; charset="us-ascii" |
| Cc | "python-list@python.org" <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2733.1321376515.27778.python-list@python.org> (permalink) |
| Lines | 12 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1321376515 news.xs4all.nl 6923 [2001:888:2000:d::a6]:55140 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:15723 |
Show key headers only | View raw
>>for x in a, b, c: >> del x[0] >for arr in [a,b,c]: > arr.pop(0) >(Peter's "del" solution is quite close, but I find the 'del' statement >tricky in python and will mislead many python newcomers) Can you expand on why 'del' is "tricky"/misleading? Ramit Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology 712 Main Street | Houston, TX 77002 work phone: 713 - 216 - 5423 -- This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Extracting elements over multiple lists? JoeM <josephmeiring@gmail.com> - 2011-11-07 09:12 -0800
Re: Extracting elements over multiple lists? John Gordon <gordon@panix.com> - 2011-11-07 17:37 +0000
Re: Extracting elements over multiple lists? Laurent Claessens <moky.math@gmail.com> - 2011-11-07 18:44 +0100
Re: Extracting elements over multiple lists? JoeM <josephmeiring@gmail.com> - 2011-11-07 10:01 -0800
Re: Extracting elements over multiple lists? John Gordon <gordon@panix.com> - 2011-11-07 18:22 +0000
Re: Extracting elements over multiple lists? Terry Reedy <tjreedy@udel.edu> - 2011-11-07 19:06 -0500
Re: Extracting elements over multiple lists? Peter Otten <__peter__@web.de> - 2011-11-07 19:33 +0100
Re: Extracting elements over multiple lists? Jean-Michel Pichavant <jeanmichel@sequans.com> - 2011-11-07 19:51 +0100
Re: Extracting elements over multiple lists? Dave Angel <d@davea.name> - 2011-11-07 15:06 -0500
Re: Extracting elements over multiple lists? Laurent Claessens <moky.math@gmail.com> - 2011-11-08 08:07 +0100
RE: Extracting elements over multiple lists? "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2011-11-15 17:01 +0000
Re: Extracting elements over multiple lists? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-11-15 22:21 +0000
Re: Extracting elements over multiple lists? Dave Angel <d@davea.name> - 2011-11-15 13:17 -0500
Re: Extracting elements over multiple lists? Chris Angelico <rosuav@gmail.com> - 2011-11-16 06:53 +1100
Re: Extracting elements over multiple lists? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-11-15 22:25 +0000
Re: Extracting elements over multiple lists? Chris Angelico <rosuav@gmail.com> - 2011-11-16 09:54 +1100
Re: Extracting elements over multiple lists? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2011-11-07 19:06 +0100
csiph-web