Lonnie Princehouse <[EMAIL PROTECTED]> wrote:
> There is a sets.Set class built in to Python. You might want to use
In 2.4, there's also a set builtin type -- you can keep using the sets
module from the standard library, but the built-in set is faster.
If you need compatibility with both 2.3 an
There is a sets.Set class built in to Python. You might want to use
this instead of lists. It defines some handy set operations like
intersection, union, and so on.
from sets import Set
my_sets = {
'one' : Set([0,4,7,9]),
'two' : Set([0,3,7,9]),
etc...
}
--
http://mail.python.org/mailm
Gerard Flanagan wrote:
> kpp9c wrote:
>
> > I have a question... and ... whew ... i am gonna be honest, i haven't
> > the slightest clue how to even start ... i am not sure if i used up all
> > my good will here or can take a mulligan.. i love to try to at least
> > post some lame broken code of m
kpp9c wrote:
> I have a question... and ... whew ... i am gonna be honest, i haven't
> the slightest clue how to even start ... i am not sure if i used up all
> my good will here or can take a mulligan.. i love to try to at least
> post some lame broken code of my own at first... but like i said,
kpp9c wrote:
> I have a question... and ... whew ... i am gonna be honest, i haven't
> the slightest clue how to even start ... i am not sure if i used up all
> my good will here or can take a mulligan.. i love to try to at least
> post some lame broken code of my own at first... but like i said, n
On Thu, 2006-03-23 at 22:55 -0800, kpp9c wrote:
> I have a question... and ... whew ... i am gonna be honest, i haven't
> the slightest clue how to even start ... i am not sure if i used up all
> my good will here or can take a mulligan.. i love to try to at least
> post some lame broken code of my
I have a question... and ... whew ... i am gonna be honest, i haven't
the slightest clue how to even start ... i am not sure if i used up all
my good will here or can take a mulligan.. i love to try to at least
post some lame broken code of my own at first... but like i said, not
being a math perso