Ordered Dictionaries? Trees?

Hamish Lawson hamish_lawson at yahoo.co.uk
Fri Sep 22 15:26:03 EDT 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

    http://home.germany.net/100-366919/Python/Modules/Modules.html

Hamish Lawson


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



More information about the Python-list mailing list