Hello, I am looking for something like: def SetIdleStdoutColor(color): pass # this function needs defining print 'hello world' SetIdleStdoutColor('green') print 'hello again' SetIdleStdoutColor('defaultcolor') Has anybody got an idea how to do this? Anton.