Popular recipes tagged "meta:loc=230"http://code.activestate.com/recipes/tags/meta:loc=230/2013-01-28T10:39:00-08:00ActiveState Code RecipesQtBreadCrumbsBar (Python)
2013-01-28T10:39:00-08:00Marcus Britanicushttp://code.activestate.com/recipes/users/4173598/http://code.activestate.com/recipes/578437-qtbreadcrumbsbar/
<p style="color: grey">
Python
recipe 578437
by <a href="/recipes/users/4173598/">Marcus Britanicus</a>
(<a href="/recipes/tags/breadcrumb/">breadcrumb</a>, <a href="/recipes/tags/pyqt4/">pyqt4</a>, <a href="/recipes/tags/python/">python</a>).
</p>
<p>A very simple BreadCrumbs Navigation Bar written in Pure PyQt4</p>
Bound Inner Classes, Using An Alternate Approach (Python)
2011-03-24T09:47:11-07:00Larry Hastingshttp://code.activestate.com/recipes/users/2467657/http://code.activestate.com/recipes/577623-bound-inner-classes-using-an-alternate-approach/
<p style="color: grey">
Python
recipe 577623
by <a href="/recipes/users/2467657/">Larry Hastings</a>
(<a href="/recipes/tags/getattribute/">getattribute</a>, <a href="/recipes/tags/inheritance/">inheritance</a>).
Revision 2.
</p>
<p>An alternate implementation approach for bound inner classes. For a description of bound inner classes, see this recipe:
<a href="http://code.activestate.com/recipes/577070-bound-inner-classes/" rel="nofollow">http://code.activestate.com/recipes/577070-bound-inner-classes/</a></p>
<p>This recipe works in both Python 2.6 and 3.1.</p>
Global Signal Dispatching (Python)
2001-12-11T19:30:28-08:00Patrick O'Brienhttp://code.activestate.com/recipes/users/137858/http://code.activestate.com/recipes/87056-global-signal-dispatching/
<p style="color: grey">
Python
recipe 87056
by <a href="/recipes/users/137858/">Patrick O'Brien</a>
.
Revision 4.
</p>
<p>This module, dispatcher.py, provides global signal dispatching services suitable for a wide variety of purposes, similar to Model-View-Controller or Model-View-Presenter patterns. This particular implementation allows a looser coupling than most Observer patterns. It also does transparent cleanup through the use of weak references and weak reference callbacks. This version defaults to using weak references, but provides an option to not use weak references for those cases where weak references are problematic (lambdas and such).</p>
READBIN.PY -- A Command Line Utility For Reading And Printing A Formatted Hex/Character File Dump (Python)
2001-06-21T01:04:24-07:00Tony Dyckshttp://code.activestate.com/recipes/users/115142/http://code.activestate.com/recipes/65257-readbinpy-a-command-line-utility-for-reading-and-p/
<p style="color: grey">
Python
recipe 65257
by <a href="/recipes/users/115142/">Tony Dycks</a>
(<a href="/recipes/tags/files/">files</a>).
</p>
<p>READBIN is a Text Console-based program which reads a single Input File specified on the command line one character at a time and prints out a formatted hex "dump" representation of the files contents 16 characters per display line. A prompt for continuation is issued after displaying 20 lines (320 characters of information). An entry of "X" or "x" followed by the <Enter> key terminates the program execution. Any other entry followed by <Enter> continues the display of the formatted hex and character information. A "." character is used for any non-displayable hex character.</p>