Popular recipes tagged "sets" but not "spelling_checker"http://code.activestate.com/recipes/tags/sets-spelling_checker/2011-05-18T21:18:54-07:00ActiveState Code RecipesDictSet - A specialized Python container datatype for managing collections of sets. (Python) 2011-05-18T21:18:54-07:00Roger Lewhttp://code.activestate.com/recipes/users/4178017/http://code.activestate.com/recipes/577702-dictset-a-specialized-python-container-datatype-fo/ <p style="color: grey"> Python recipe 577702 by <a href="/recipes/users/4178017/">Roger Lew</a> (<a href="/recipes/tags/analysis/">analysis</a>, <a href="/recipes/tags/development/">development</a>, <a href="/recipes/tags/dictionary/">dictionary</a>, <a href="/recipes/tags/information/">information</a>, <a href="/recipes/tags/mathematics/">mathematics</a>, <a href="/recipes/tags/sets/">sets</a>). </p> <p>The basic Python container types (dict, list, set, and tuple) are extremely versatile and powerful. The collections module first implemented in Python 2.4 has shown that sub-classing these containers can yield elegant solutions to the right problem. In a similar vein this project is a dict subclass for elegantly handling collections of sets. In many aspects a DictSet is similiar to a defaultdict of sets except it generalizes many of the set operations to the dict.</p> <p>Put simply, DictSet is a dict of sets that behaves like a set.</p> <p>DictSet requires 0 non-standard dependencies and should work with Python 2.5 and up.</p> Fallout 3 "terminal hacking" minigame cracker (Python) 2008-12-20T11:18:35-08:00Bill Sharerhttp://code.activestate.com/recipes/users/4168512/http://code.activestate.com/recipes/576590-fallout-3-terminal-hacking-minigame-cracker/ <p style="color: grey"> Python recipe 576590 by <a href="/recipes/users/4168512/">Bill Sharer</a> (<a href="/recipes/tags/dictionaries/">dictionaries</a>, <a href="/recipes/tags/fallout_3_minigame/">fallout_3_minigame</a>, <a href="/recipes/tags/lists/">lists</a>, <a href="/recipes/tags/sets/">sets</a>, <a href="/recipes/tags/text/">text</a>). </p> <p>crackerhacker.py is a script I wrote as a Python learning exercise to help solve Fallout 3's "terminal hacking" minigame. Many of you may already be aware of this annoying mind challenge after playing the popular waste of time from Bethesda Softworks on your favorite pc or console.</p> <p>more details in the script</p>