Name: Anonymous 2009-02-27 2:06
I'm just curious about how to print text in different colours with python..
I've tried google but found nothing.
I've tried google but found nothing.
from os import system
from random import choice
colors = (1,2,3,4,5,6,7,8,9,0,'a','b','c','d','e','f')
while 1:
system('color '+str(choice(colors))+str(choice(colors)))