print color strings?

Gerrit Holl gerrit.holl at pobox.com
Thu Jul 1 15:35:28 EDT 1999


Hello,

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?

regards,
Gerrit.

-- 
The Dutch Linuxgames homepage:	http://linuxgames.nl.linux.org
Personal homepage:		http://www.nl.linux.org/~gerrit/

Discoverb is a python program (in several languages) which tests the words you
learned by asking it. Homepage: http://www.nl.linux.org/~gerrit/discoverb/
Oh my god! They killed init! You bastards!




More information about the Python-list mailing list