[GRASS-user] color for stdout print output

Johannes Radinger JRadinger at gmx.at
Wed Apr 27 03:16:36 EDT 2011


Hello GRASS users,

i think it should be possible to color the output of certain print-commands
of a python script, but I don't know how.

It'd be nice e.g if a command like 'print "Script processed succesfully"' is printed in green in the stdout of the GRASS command console.

Does anyone know how this can be easily achieved in a python script?

/johannes
-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!			
Jetzt informieren: http://www.gmx.net/de/go/freephone


More information about the grass-user mailing list