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


Groups > comp.lang.python > #79340

Re: Building lists

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.093
X-Spam-Evidence '*H*': 0.81; '*S*': 0.00; 'instances.': 0.09; 'wrote:': 0.18; 'rules': 0.22; 'mon,': 0.24; 'class.': 0.26; 'define': 0.26; 'header:In-Reply-To:1': 0.27; 'properties': 0.29; 'message-id:@mail.gmail.com': 0.30; 'class': 0.32; 'subject:lists': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'instances': 0.36; 'list': 0.37; 'list.': 0.37; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'track': 0.38; 'to:addr:python.org': 0.39; '20,': 0.68
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 :content-type; bh=/QnYGr38dWwaV9ZzDH0axisk+gMMFswzNvprGUiHAMg=; b=b5oU9DLezNPrSHEC7bytqYA+wg1UnVK1qWq1Q0/EVeEyu/nEK/CmBMoSKD7oplEfHZ Q2Lm5SPylxkGrMq35/C0EzAMU5paYWVnOc9ExvvS3kdjI++FHc5zbFvoUqoiCygfeQIW 5Htp9b/2/DDxdOhAZ0dkksIt7bEcJWSGYrXK9EiqOMZT69JF2KkXXm7LqOdd5Q2x50rO WCAIlA1KpMfy2uc7O7Iu3y9jl/cZyMn2VIwYyCxjQHbDxerOe12o8KPRjU6qIJZKwZQY CXTIH7xzvmOOZiOqvizrxCNfgVL2fDsRCPGipqohgM4+wfgrcRJ2Cj/NHweOXJjYlKFr ap3A==
X-Received by 10.70.133.200 with SMTP id pe8mr10436750pdb.123.1413840920371; Mon, 20 Oct 2014 14:35:20 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <glua4ald1elnllqms3mk0aghvgd8vo72av@4ax.com>
References <obja4a5ij57rtuaivtvcuqsufhuhk3a2su@4ax.com> <m23sfm$fto$1@reader1.panix.com> <glua4ald1elnllqms3mk0aghvgd8vo72av@4ax.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Mon, 20 Oct 2014 15:34:40 -0600
Subject Re: Building lists
To Python <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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.15009.1413840929.18130.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1413840929 news.xs4all.nl 2911 [2001:888:2000:d::a6]:37171
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:79340

Show key headers only | View raw


On Mon, Oct 20, 2014 at 3:25 PM, Seymore4Head
<Seymore4Head@hotmail.invalid> wrote:
> I think what I am going to have to have is a master list that keeps
> track of several things and I will need to change some of them so I
> know that rules out tuples.

It sounds to me like what you really want is a list of class
instances. Define a class to contain the properties that you want to
have for one item in the list. Then create a list to contain multiple
instances of that class.

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


Thread

Building lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-20 14:10 -0400
  Re: Building lists sohcahtoa82@gmail.com - 2014-10-20 11:18 -0700
    Re: Building lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-20 14:21 -0400
      Re: Building lists sohcahtoa82@gmail.com - 2014-10-20 11:33 -0700
        Re: Building lists Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-20 20:55 +0100
  Re: Building lists MRAB <python@mrabarnett.plus.com> - 2014-10-20 20:40 +0100
    Re: Building lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-20 15:49 -0400
      Re: Building lists Ian Kelly <ian.g.kelly@gmail.com> - 2014-10-20 13:58 -0600
        Re: Building lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-20 16:23 -0400
          Re: Building lists Ian Kelly <ian.g.kelly@gmail.com> - 2014-10-20 14:45 -0600
            Re: Building lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-20 16:55 -0400
          Re: Building lists Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-20 21:47 +0100
      Re: Building lists Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-20 20:57 +0100
        Re: Building lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-20 16:24 -0400
      Re: Building lists Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-20 22:40 +0000
        Re: Building lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-20 18:44 -0400
      Re: Building lists Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-10-21 10:55 +1100
        Re: Building lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-20 20:05 -0400
      Re: Building lists Larry Hudson <orgnut@yahoo.com> - 2014-10-21 00:11 -0700
        Re: Building lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-21 08:54 -0400
      Re: Building lists Larry Hudson <orgnut@yahoo.com> - 2014-10-21 00:40 -0700
        Re: Building lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-21 08:55 -0400
    Re: Building lists Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-20 22:30 +0000
      Re: Building lists MRAB <python@mrabarnett.plus.com> - 2014-10-20 23:57 +0100
  Re: Building lists John Gordon <gordon@panix.com> - 2014-10-20 20:48 +0000
    Re: Building lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-20 17:25 -0400
      Re: Building lists Ian Kelly <ian.g.kelly@gmail.com> - 2014-10-20 15:34 -0600
      Re: Building lists Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-10-20 21:31 -0400
        Re: Building lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-21 08:55 -0400
  Re: Building lists Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-10-21 10:54 +1300
    Re: Building lists Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-10-20 17:57 -0400
  Re: Building lists Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-10-20 21:27 -0400

csiph-web