Le 09/06/2010 08:54, Raymond Hettinger a écrit :
next(ifilter(None, d), False)
Good, this is rather short and does the job !... I should try to use more often this itertools module. Thanks Daniel -- http://mail.python.org/mailman/listinfo/python-list