/  7
 
The Thesaurus Object
Why Be Certain?
Chris Miller - christopher@ctmiller.nethttp://www.unquietdesperation.com
 
The Dictionary Object (so 1996)
Insert a value with a keyReference by the key to return the valueSo boring
 
Thesaurus Object
Add a value with a keyReference the information with the keyGet back a value similar to, but not exactly what you werelooking for.>>> from collection import thesaurus>>> t = thesaurus()>>> t['framework'] = 'Django'>>> print t['framework']'Turbogears'

Share & Embed

More from this user

Add a Comment

Characters: ...