Popular recipes by Dave Benjamin http://code.activestate.com/recipes/users/798272/2004-08-28T16:54:50-07:00ActiveState Code RecipesBuild section numbers for a table of contents (Python)
2004-08-28T16:54:50-07:00Dave Benjaminhttp://code.activestate.com/recipes/users/798272/http://code.activestate.com/recipes/302467-build-section-numbers-for-a-table-of-contents/
<p style="color: grey">
Python
recipe 302467
by <a href="/recipes/users/798272/">Dave Benjamin</a>
(<a href="/recipes/tags/text/">text</a>).
</p>
<p>This recipe shows a way to generate section numbers for a nested document structure. It can be used within a recursive algorithm to build a table of contents.</p>
Functional dictionary and list types for Python 2.1+ (Python)
2002-11-26T20:56:19-08:00Dave Benjaminhttp://code.activestate.com/recipes/users/798272/http://code.activestate.com/recipes/161403-functional-dictionary-and-list-types-for-python-21/
<p style="color: grey">
Python
recipe 161403
by <a href="/recipes/users/798272/">Dave Benjamin</a>
(<a href="/recipes/tags/algorithms/">algorithms</a>).
Revision 9.
</p>
<p>Dictionary, list, set, and histogram types for relational algebra, functional programming, list-oriented programming, and modelling data flow.</p>