batch pretty (color) print of python code?

Josh Close narshe at gmail.com
Mon Sep 27 16:17:59 EDT 2004


On Mon, 27 Sep 2004 16:07:03 -0400, Humpdydum
<oliver.schoenborn at utoronto.ca> wrote:
> Any freeware/open-source that does that? Windows- OR Linux-based is fine. On
> Linux it would be s/t like "pyprint -r *.py > out.ps" where -r indicates
> recursive. Done a search on google and nothing solid comes up. So far I've
> been using Boa's print feature, which means one file at a time, tedious.
> Thanks,
> Oliver

Do you want the text to be colored on the command line? Not exactly
sure what you mean. If so, gentoo has a very nice module for that,
that comes with portage. It's located here

/usr/lib/portage/pym/output.py

All it does is uses \ values for color.

-Josh



More information about the Python-list mailing list