testing array of logicals

Simon Forman rogue_pedro at yahoo.com
Thu Jul 13 21:53:36 EDT 2006


>
> False not in logflags
>

Or, if your values aren't already bools

False not in (bool(n) for n in logflags)



Peace,
~Simon




More information about the Python-list mailing list