Re: Array construction from object members

2005-12-31 Thread Steven D'Aprano
On Sat, 31 Dec 2005 09:01:44 -0800, MKoool wrote: > Hi everyone, > > I am doing several operations on lists and I am wondering if python has > anything built in to get every member of several objects that are in an > array, for example, if i have a class like the following: > > class myClass: >

Re: Array construction from object members

2005-12-31 Thread Paul McGuire
"MKoool" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi everyone, > > I am doing several operations on lists and I am wondering if python has > anything built in to get every member of several objects that are in an > array, <-snip-> > Here's some sample code to show you how list

Re: Array construction from object members

2005-12-31 Thread Gerard Flanagan
MKoool wrote: > Hi everyone, > > I am doing several operations on lists and I am wondering if python has > anything built in to get every member of several objects that are in an > array, for example, if i have a class like the following: > > class myClass: >a = 0.0 > > And lets say I populate