Changing IDLE's stdout color at runtime

Anton Vredegoor anton at vredegoor.doge.nl
Sun Dec 17 12:14:44 EST 2000


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.




More information about the Python-list mailing list