Python Module for console text formatting?

alex goretoy aleksandr.goretoy at gmail.com
Thu Feb 19 01:13:38 EST 2009


I created a little script for doing stdout coloring for me a while back.
Maybe this will get you closer to what you are looking for. It's kinda
hackish, but it works.

http://code.google.com/p/python-stdout-colors/

-Alex Goretoy
http://www.goretoy.com



On Wed, Feb 18, 2009 at 10:22 PM, srinivasan srinivas <
sri_annauni at yahoo.co.in> wrote:

> Hi,
> Is it possible to apply more than one formatting to a string?
> For ex: the string 'test' has to be underlined and it should be bold. How
> to do that?
>
> Thanks,
> Srini
>  ------------------------------
> *From:* geremy condra <cto at openmigration.net>
> *To:* python-list at python.org
> *Sent:* Wednesday, 18 February, 2009 10:04:34 AM
> *Subject:* Re: Python Module for console text formatting?
>
> You can insert those codes just like you would any other character. If
> there's enough interest I can whip up a wrapper library for you.
>
> http://www.linux.gr/cgi-bin/man2html?console_codes+4
>
> On Tue, Feb 17, 2009 at 11:19 PM, srinivasan srinivas <
> sri_annauni at yahoo.co.in> wrote:
>
>>
>> Hi,
>> Does anyone know any python module other than 'ConsoleFormat0.1.1' used to
>> format text on console?
>> For example, printing bold characters on console.
>>
>> Thanks,
>> Srini
>>
>>
>>      Did you know? You can CHAT without downloading messenger. Go to
>> http://in.webmessenger.yahoo.com/
>> --
>> http://mail.python.org/mailman/listinfo/python-list
>>
>
>
>
> --
> OpenMigration LLC- Open Source solutions for your business. Visit us at
> http://OpenMigration.net <http://openmigration.net/>.
>
> ------------------------------
> Add more friends to your messenger and enjoy! Invite them now.<http://in.rd.yahoo.com/tagline_messenger_6/*http://messenger.yahoo.com/invite/>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090219/f9bff458/attachment.html>


More information about the Python-list mailing list