Popular recipes tagged "meta:loc=260"http://code.activestate.com/recipes/tags/meta:loc=260/2012-07-21T02:46:37-07:00ActiveState Code RecipesColorize Python -- Sourcecode Syntax Highlighting (Python)
2012-07-21T02:46:37-07:00Raymond Hettingerhttp://code.activestate.com/recipes/users/178123/http://code.activestate.com/recipes/578178-colorize-python-sourcecode-syntax-highlighting/
<p style="color: grey">
Python
recipe 578178
by <a href="/recipes/users/178123/">Raymond Hettinger</a>
(<a href="/recipes/tags/highlighting/">highlighting</a>, <a href="/recipes/tags/syntax/">syntax</a>).
Revision 20.
</p>
<p>Generates colorized HTML, ANSI escaped text, or a LaTeX document from Python source code. Useful for publishing or viewing your code in a more readable way.</p>
Pyliner - Script to run arbitrary Python code on the command line (Python)
2011-07-29T13:22:54-07:00Drew Gulinohttp://code.activestate.com/recipes/users/4119417/http://code.activestate.com/recipes/577075-pyliner-script-to-run-arbitrary-python-code-on-the/
<p style="color: grey">
Python
recipe 577075
by <a href="/recipes/users/4119417/">Drew Gulino</a>
(<a href="/recipes/tags/awk/">awk</a>, <a href="/recipes/tags/oneliner/">oneliner</a>, <a href="/recipes/tags/perl/">perl</a>, <a href="/recipes/tags/pipe/">pipe</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/sed/">sed</a>, <a href="/recipes/tags/sysadmin/">sysadmin</a>).
</p>
<p>A Python script that runs arbitrary Python scripts in an input loop. This allows one-liner Python scripts similarly to how Perl runs them (-l,-a,-n,-F, BEGIN, END)</p>
<p>It provides additional syntax that allows multiline Python scripts to be run on a single line</p>
checkCpu (Tcl)
2005-01-23T20:23:51-08:00Patrick Finneganhttp://code.activestate.com/recipes/users/1220635/http://code.activestate.com/recipes/364233-checkcpu/
<p style="color: grey">
Tcl
recipe 364233
by <a href="/recipes/users/1220635/">Patrick Finnegan</a>
(<a href="/recipes/tags/windows/">windows</a>).
</p>
<p>Check server Cpu utilisation. Script can be run from the command line or as a Windows service using the NT Resource Kit "servany" utility.</p>