Most viewed recipes by Sunjoong LEE http://code.activestate.com/recipes/users/2925478/views/2006-06-29T01:22:23-07:00ActiveState Code RecipesExtract a inner function from a class or a function (Python)
2006-06-19T22:03:22-07:00Sunjoong LEEhttp://code.activestate.com/recipes/users/2925478/http://code.activestate.com/recipes/496806-extract-a-inner-function-from-a-class-or-a-functio/
<p style="color: grey">
Python
recipe 496806
by <a href="/recipes/users/2925478/">Sunjoong LEE</a>
(<a href="/recipes/tags/debugging/">debugging</a>).
Revision 2.
</p>
<p>This function can extract a inner function from a class or a function.
It may be useful when writing a unit test code.</p>
Completer with history viewer support and more features (Python)
2006-06-29T01:22:23-07:00Sunjoong LEEhttp://code.activestate.com/recipes/users/2925478/http://code.activestate.com/recipes/496822-completer-with-history-viewer-support-and-more-fea/
<p style="color: grey">
Python
recipe 496822
by <a href="/recipes/users/2925478/">Sunjoong LEE</a>
.
Revision 10.
</p>
<p>This module let "tab" key can indent and completing valid python identifiers, keywords, and filenames.
This module support history view also.</p>
<p>Note1: original python rlcompleter module only avail in unix-like environment
Note2: if you seek a more simple completer you could try Jian Ding Chen's recipe at: <a href="http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496812" rel="nofollow">http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496812</a></p>