thanks..I  am using python 2.4.4. so i couldnt find "all" either as
inbuilt module
or by doing "from itertools import *",  "all" is not available.
I think I need to move to 2.5 then....

but what are the pros/cons of moving to 2.5? as we are using 2.4.4 on
production server which is quite stable.
any good pointers?

sandip




On Oct 24, 9:32 pm, Tim Chase <[EMAIL PROTECTED]> wrote:
> >>  Is "all" inbuilt function in python? what it does?
>
> >>>> help(all)
> > Help on built-in function all in module __builtin__:
>
> > all(...)
> >     all(iterable) -> bool
>
> >     Return True if bool(x) is True for all values x in the iterable.
>
> It may be helpful to know that any() and all() were added in
> Python 2.5
>
> http://docs.python.org/lib/built-in-funcs.html#l2h-9
>
> -tkc


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to