Any way to use a range as a key in a dictionary?

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Thu Mar 26 21:43:47 EDT 2009


An interval map maybe?
http://code.activestate.com/recipes/457411/

A programmer has to know the name of many data structures :-)

Bye,
bearophile



More information about the Python-list mailing list