how to write colored text to text or another format files like csv?

后端 未结 0 1554
隐瞒了意图╮
隐瞒了意图╮ 2020-11-30 13:06

i use ANSI escape code to coloring string with code below.

import sys    
pricess = open(pricess.txt, \'w\')
text_color = \'\\33[32m\'
print(text_color + \'pr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题