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


Groups > comp.lang.python > #54640

Re: parse list recurisively

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <oscar.j.benjamin@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.102
X-Spam-Level *
X-Spam-Evidence '*H*': 0.82; '*S*': 0.03; 'doing?': 0.09; 'cc:addr :python-list': 0.11; '(without': 0.16; 'cc:name:python list': 0.16; 'illustrates': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'load': 0.23; 'parse': 0.24; 'cc:2**0': 0.24; 'header:In- Reply-To:1': 0.27; 'subject:list': 0.30; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'bunch': 0.31; 'lists': 0.32; 'received:google.com': 0.35; 'really': 0.36; 'url:org': 0.36; 'how': 0.40; "you're": 0.61; 'show': 0.63; 'dont': 0.67; 'oscar': 0.84; 'mean.': 0.91; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Yal8RHJnGLruigzh6Qa+IJZOs1nClsZOF7UF8mH1HaQ=; b=wI7ejklEFhi52IUW3CpXXcV/rx7JPljR5ZlfuJNscv19rc2frFZJY+l/q+lLB4VLK0 lKsVjIweBlQugep+SiLrS5aRaCTEt/DDvJPvytGJEfpGS9dJAJvT+mRYA46V9f3pr+Gv bWlI/JN52ometpGgNeeJ6/Oehzzv23Cxsjxq6ZIEI0Big7zTiS4CW4brDwvSM94lmTbT So5JOrQmyC2HDyMuqOsGuUZVpR/CDDW8OeQMbF5Z940ji/o/ZfdRdL/em3Y81teFtjwv XGDJqcJXIVnqNmi+BLkfxkC8ZB/sm6icaGKfWVY+cQ30QK9gSISjT2+ZDj88VD0ZCPM5 ltfg==
X-Received by 10.52.230.102 with SMTP id sx6mr18720059vdc.15.1379945449641; Mon, 23 Sep 2013 07:10:49 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <9b5d915b-3750-43ab-9691-1b1445332c43@googlegroups.com>
References <9b5d915b-3750-43ab-9691-1b1445332c43@googlegroups.com>
From Oscar Benjamin <oscar.j.benjamin@gmail.com>
Date Mon, 23 Sep 2013 15:10:29 +0100
Subject Re: parse list recurisively
To andypu@zoho.com
Content-Type text/plain; charset=ISO-8859-1
Cc Python List <python-list@python.org>
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.266.1379945457.18130.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1379945457 news.xs4all.nl 15952 [2001:888:2000:d::a6]:54037
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:54640

Show key headers only | View raw


On 23 September 2013 13:53,  <andypu@zoho.com> wrote:
> Hello,
>
> i use a load of lists and often i dont know how deep it is, how can i parse that lists elegantly (without a bunch of for loops)

I don't really understand what you mean. Can you show some code that
illustrates what you're doing?

http://sscce.org/


Oscar

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


Thread

parse list recurisively andypu@zoho.com - 2013-09-23 05:53 -0700
  Re: parse list recurisively Chris Angelico <rosuav@gmail.com> - 2013-09-23 23:00 +1000
    Re: parse list recurisively andypu@zoho.com - 2013-09-23 07:07 -0700
      Re: parse list recurisively andypu@zoho.com - 2013-09-23 07:23 -0700
  Re: parse list recurisively Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-09-23 15:10 +0100

csiph-web