News for hackers. Stuff that matters.
Re:Playing with Strings and Colors in Python by Osmose on Friday December 28, 2012 @12:39PM (#4978543)
I prefer Blessings[1] for terminal colors/positioning/etc (except it's limited to platforms that support curses):

    from blessings import Terminal
    t = Terminal()
    print t.bold, 'Hi there!', t.normal
    print t.bold_red_on_bright_green('It hurts my eyes!')
    with t.location(0, t.height - 1):
        print 'This is at the bottom.'
[1] http://pypi.python.org/pypi/blessings/

There are no comments on this comment yet.