Saturday, March 13, 2021

IDLE Colors

import sys


color = sys.stdout.shell

L = ["BUILTIN", "COMMENT", "ERROR", "KEYWORD", "STRING",

     "console", "hit", "sel", "stdin", "stdout"]

for i in L:

  color.write(i + "\n", i)









No comments:

Post a Comment