Python version of STL multimap?
Edward C. Jones
edcjones at erols.com
Sat Jul 6 17:50:30 EDT 2002
Roy Smith wrote:
> So, the question is, is there a standard way in Python to do multimaps,
> or should I just continue to roll my own with one of the above idioms
> whenever I need one?
I wrote a module called MultiDict.py. It is at
http://members.tripod.com/~edcjones/MultiDict.py
it also contains class Table which is a two dimensional nested list
viewed as a "relation" (a set of n-tuples). This is the same viewpoint
used in SQL.
Thanks,
Edward C. Jones
More information about the Python-list
mailing list