[Tutor] print a line in IDLE as bold, italics or a color

Alan G alan.gauld at freenet.co.uk
Wed Aug 3 10:22:39 CEST 2005


> Thanks for your feedback. I managed to get some color in my print in 
> IDLE (or the Paint Shop Pro Script Output window):

I'm intrigued. Does PSP now support scripting in Python?
Is that a standard feature? (I'm a Photoshop Elements user
myself...)

> ###
> import sys
> print >> sys.stderr,'Hello world'
> ###

Ah yes, neat idea. By writing to stderr IDLE will treat it as an
error and color it appropriately.

Alan G 



More information about the Tutor mailing list