need dict to maintain order
jgardn at alumni.washington.edu
Fri Jan 18 11:43:38 EST 2002
On Saturday 19 January 2002 01:28 am, rihad wrote:
> Hi there, I'm trying to automate the process of creating so called
> `webpage navbars' by writing an offline python script, but dict
> doesn't seem to give its items in defined order:
Try an Array. You could probably find a way to have the dict hold the data
and the array give it its spine.
Or, you could roll your own dict that remembers its order. Should be a lot
easier with 2.2.
> Thanks in advance for any help.
I don't know if I'm helping much... =)
More information about the Python-list