Ordered Dictionaries? Trees?

Hamish Lawson hamish_lawson at yahoo.co.uk
Fri Sep 22 21:26:03 CEST 2000

stephen at cerebralmaelstrom.com wrote:
> I need a Dictionary who's order is perdictable and/or settable; e.g.
> FIFO/LILO... For instance, if I do: dict['A'] = 1, dict['C'] = 2, dict
> ['B'] = 3, then dict.keys() would return ('A','C','B'), always. :)

The seqdict module is available from


Hamish Lawson

Sent via Deja.com http://www.deja.com/
Before you buy.

More information about the Python-list mailing list