Peter Otten a écrit :
> Bruno Desthuilliers wrote:
> 
> 
>>         print >> output, sorted(decorated_lines, reverse=True)[0][1]
> 
> 
> Or just
>            print >> output, max(decorated_lines)[1]

Good point. More explicit, and a bit faster too. Thanks Peter.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to