What would be the best way to store (non-mutable) data that is of format:
doodahs = {
0-256: "FOO",
257: "BAR",
258: "FISH",
279: "MOOSE",
280-65534: "Darth Vader",
65535: "Death to all newbies" }
I have a relatively large amount of these type of data sets, so something that I can define the way of dictionaries (or close to it) and access via indexes.
Oh, and this is on Python 2.4, so please give really really good reason for upgrade if you want me to use a newer version (and I'll go for 3 :)