Popular recipes tagged "counter" but not "demo"http://code.activestate.com/recipes/tags/counter-demo/2013-08-02T03:15:12-07:00ActiveState Code RecipesSelf Counter (Python) 2013-08-02T03:15:12-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578621-self-counter/ <p style="color: grey"> Python recipe 578621 by <a href="/recipes/users/2608421/">Stephen Chappell</a> (<a href="/recipes/tags/counter/">counter</a>). </p> <p>This script was written as a revision of <a href="http://code.activestate.com/recipes/577456/">recipe 577456</a> as a variation on a theme.</p> Page Counter (Python) 2012-07-02T22:41:43-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578184-page-counter/ <p style="color: grey"> Python recipe 578184 by <a href="/recipes/users/2608421/">Stephen Chappell</a> (<a href="/recipes/tags/achive/">achive</a>, <a href="/recipes/tags/cgi/">cgi</a>, <a href="/recipes/tags/counter/">counter</a>, <a href="/recipes/tags/old/">old</a>, <a href="/recipes/tags/page/">page</a>). </p> <p>This page counter was a CGI experiment in what it would take to implement such a simple concept. This is committed for archival to be run under Python 2.5 or later versions.</p> External Counter (Python) 2010-11-07T03:25:34-08:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/577456-external-counter/ <p style="color: grey"> Python recipe 577456 by <a href="/recipes/users/2608421/">Stephen Chappell</a> (<a href="/recipes/tags/counter/">counter</a>). </p> <p>Written as a tribute to <a href="http://code.activestate.com/recipes/440636/">recipe 440636</a>, this newest version is considerably reworked.</p> Extension to Python 3 Counter class (Python) 2010-08-18T21:02:41-07:00Paddy McCarthyhttp://code.activestate.com/recipes/users/398009/http://code.activestate.com/recipes/577362-extension-to-python-3-counter-class/ <p style="color: grey"> Python recipe 577362 by <a href="/recipes/users/398009/">Paddy McCarthy</a> (<a href="/recipes/tags/bag/">bag</a>, <a href="/recipes/tags/counter/">counter</a>, <a href="/recipes/tags/multiset/">multiset</a>, <a href="/recipes/tags/python/">python</a>). Revision 3. </p> <p>Adds symmetric difference and cartesian product to the Counter class. I had a use case for the former and Raymond H. asked about the latter so I coded the latter from its Wikipedia description.</p>