print color strings?
Fred L. Drake
Fred.L..Drake at p98.f112.n480.z2.fidonet.org
Thu Jul 1 16:33:14 EDT 1999
More information about the Python-list mailing list
Thu Jul 1 16:33:14 EDT 1999
- Previous message (by thread): wddx wrapper?
- Next message (by thread): print color strings?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: "Fred L. Drake" <fdrake at cnri.reston.va.us> Gerrit Holl writes: > is there an easy way to print color strings in python? > > A function like printcolor('brightyellow', 'red', 'spam'), that finds > out on what kind of terminal you are and prints it to stdout? Gerrit, If you're doing this on Unix, take a look at the ncurses library; there's a Python interface to that. (I think Oliver Andrich did it; searching DejaNews should find it fairly quickly since this keeps coming up.) The standard curses module will be documented in the next release of the Library Reference. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> Corporation for National Research Initiatives
- Previous message (by thread): wddx wrapper?
- Next message (by thread): print color strings?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list