Text Formating in Python

Greg Krohn volucris at hotmail.com
Sun Aug 26 00:51:26 EDT 2001


Well, AFAIK there isn't much you can do with the print statement, but if you
are willing to use Tkinter, check out the Text widget. You can do all kinds
of funky stuff with it. http://python.org/topics/tkinter/doc.html

--

Volucris (a) hotmail.com
"Eu não falo uma única palavra do português."

"Lee Hulbert" <lhulbert at hotmail.com> wrote in message
news:1cdcc92f.0108252020.20aaa02e at posting.google.com...
> Is there a simple way to format a text string before printing to the
> screen?
>
> Specifically, I have a list of 80 numbers, and I want to print the
> list, with each number a different color if it is positive, negative,
> or 0.
>
> Thank You,
>
> Lee





More information about the Python-list mailing list