On Apr 17, 11:52 am, Jonathan Hartley tart...@tartley.com wrote:
On Apr 16, 5:59 pm, Lie Ryan lie.1...@gmail.com wrote:
On 04/16/10 19:28, Jonathan Hartley wrote:
I'm playing with ideas of what API to expose. My favourite one is to
simply embed ANSI codes in the stream to be printed.
On Apr 16, 5:59 pm, Lie Ryan lie.1...@gmail.com wrote:
On 04/16/10 19:28, Jonathan Hartley wrote:
I'm playing with ideas of what API to expose. My favourite one is to
simply embed ANSI codes in the stream to be printed. Then this will
work as-is on Mac and *nix. To make it work on Windows,
That sounds like a nice idea, try it out and see what you make of it. (It
may have been done before but probably not as a standalone module as it
doesn't require that much code)
On Sat, Apr 17, 2010 at 6:52 AM, Jonathan Hartley tart...@tartley.comwrote:
On Apr 16, 5:59 pm, Lie Ryan
Hi,
It irks me that I know of no simple cross-platform way to print
colored terminal text from Python.
As I understand it, printing ANSI escape codes (as wrapped nicely by
module termcolor and others) works on Macs and *nix, but only works on
Windows if one has installed the ANSI.SYS device
On Apr 16, 10:28 am, Jonathan Hartley tart...@tartley.com wrote:
Hi,
It irks me that I know of no simple cross-platform way to print
colored terminal text from Python.
As I understand it, printing ANSI escape codes (as wrapped nicely by
module termcolor and others) works on Macs and *nix,
On 04/16/10 19:28, Jonathan Hartley wrote:
I'm playing with ideas of what API to expose. My favourite one is to
simply embed ANSI codes in the stream to be printed. Then this will
work as-is on Mac and *nix. To make it work on Windows, printing could
be done to a file0-like object which wraps