Displaying posts published in

abril 2010

Playing with ANSI colors and python with Couleur

Last night I’ve just released the first version of Couleur, which is (or at least try to be) a simple and awesome tool for using ANSI colors with python. Couleur indeed turns very easy to handle shell colors in python. In action import time import couleur sh = couleur.Shell(linebreak=True) for mood in ["bad", "awful", "normal", [...]