On 2007-06-06, rhXX <[EMAIL PROTECTED]> wrote:
> hi,
>
> can i append a item to a list using criterias:
>
> - UNIQUE - if there already exist don't append

Consult the Python Docs about sets.

> and/or
>
> - SORTED - INSERT in the correct place using some criteria?

Consult the Python Docs about the heapq module.

-- 
Neil Cerutti
Beethoven wrote fewer symphonies than Haydn and Mozart because he wrote
longer, and besides he went death. --Music Lit Essay
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to