Apollo:
>  my question is how to use 'heapq' to extract the biggest item from the heap? 
>  is it possible?

This wrapper allows you to give a key function:
http://code.activestate.com/recipes/502295/

Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to