Avatar ·

我能否让Python程序的输出变成彩色?

📁 python, 示例

例如,我希望像这样的行,更准确地说,它们在控制台中的输出:

print 'Hello World'

是绿色的。这可能吗?请告诉我怎么做?