Popular recipes tagged "meta:loc=156"http://code.activestate.com/recipes/tags/meta:loc=156/2014-12-04T04:27:13-08:00ActiveState Code RecipesFlight Rising Dragon Color Predictor (Python) 2014-12-04T04:27:13-08:00Kyla Powellhttp://code.activestate.com/recipes/users/4191260/http://code.activestate.com/recipes/578975-flight-rising-dragon-color-predictor/ <p style="color: grey"> Python recipe 578975 by <a href="/recipes/users/4191260/">Kyla Powell</a> . </p> <p>flight rising dragon color predictor</p> Simple tool for simulating classes using closures and nested scopes (Python) 2012-04-11T06:21:18-07:00Raymond Hettingerhttp://code.activestate.com/recipes/users/178123/http://code.activestate.com/recipes/578091-simple-tool-for-simulating-classes-using-closures-/ <p style="color: grey"> Python recipe 578091 by <a href="/recipes/users/178123/">Raymond Hettinger</a> (<a href="/recipes/tags/closure/">closure</a>, <a href="/recipes/tags/object/">object</a>, <a href="/recipes/tags/oriented/">oriented</a>). Revision 9. </p> <p>Closured-based alternative to normal classes. Allows a faster, cleaner coding style at the expense of some functionality.</p> Terminal output of the "Bash completed man and info pages generation" recipe (Python) 2011-08-24T02:37:59-07:00Josh Dhttp://code.activestate.com/recipes/users/4179060/http://code.activestate.com/recipes/577857-terminal-output-of-the-bash-completed-man-and-info/ <p style="color: grey"> Python recipe 577857 by <a href="/recipes/users/4179060/">Josh D</a> . </p> <p>Process the messy terminal output that has been saved to file to a new less messy file. The code it self breaks the log apart good I think, that is as long as there is no other potential output.</p> Elegant (?) AoP for methods and functions (Python) 2010-03-02T20:10:38-08:00Alec Thomashttp://code.activestate.com/recipes/users/2870300/http://code.activestate.com/recipes/577082-elegant-aop-for-methods-and-functions/ <p style="color: grey"> Python recipe 577082 by <a href="/recipes/users/2870300/">Alec Thomas</a> (<a href="/recipes/tags/aop/">aop</a>, <a href="/recipes/tags/aspect/">aspect</a>, <a href="/recipes/tags/join/">join</a>, <a href="/recipes/tags/oriented/">oriented</a>, <a href="/recipes/tags/point/">point</a>). Revision 2. </p> <p>There are a couple of other AoP related recipes on ASPN. This one is designed to have a simple, elegant interface.</p> JasperServer.cgi. It works (Python) 2009-11-28T10:34:40-08:00Martchenkohttp://code.activestate.com/recipes/users/4172446/http://code.activestate.com/recipes/576970-jasperservercgi-it-works/ <p style="color: grey"> Python recipe 576970 by <a href="/recipes/users/4172446/">Martchenko</a> (<a href="/recipes/tags/cgi/">cgi</a>, <a href="/recipes/tags/jasperreports/">jasperreports</a>, <a href="/recipes/tags/snippet/">snippet</a>). Revision 2. </p> <p>running jasperreports over pythons CGI</p> Lazy module imports (Python) 2006-02-14T18:51:46-08:00David Christianhttp://code.activestate.com/recipes/users/2775693/http://code.activestate.com/recipes/473888-lazy-module-imports/ <p style="color: grey"> Python recipe 473888 by <a href="/recipes/users/2775693/">David Christian</a> . Revision 2. </p> <p>The following recipe allows you to delay import module statements until the module is actually needed. This can lead to a much faster startup time for large programs with lots of imports. Installing is easy, just call importer.install().</p>