Data structure question

Joseph L. Casale jcasale at activenetwerx.com
Sun Nov 17 21:03:38 EST 2013


I have a need for a script to hold several tuples with three values, two text
strings and a lambda. I need to index the tuple based on either of the two
strings. Normally a database would be ideal but for a self-contained script
that's a bit much.

Before I re-invent the wheel, are there any built-in structures that allow for
this type of use case?

Thanks,
jlc



More information about the Python-list mailing list