如何在 python 中打印闪烁的文本
How to print blinking text in python
colorama 是一个通用的包,可以独立于平台工作。但它似乎不支持闪烁的文字。在 python ?
中可以通过任何其他方式实现
from termcolor import colored, cprint
cprint('\nJames Everleigh', 'red', attrs=['blink'])
cprint 还允许粗体、下划线等和小范围的颜色。
colorama 是一个通用的包,可以独立于平台工作。但它似乎不支持闪烁的文字。在 python ?
中可以通过任何其他方式实现from termcolor import colored, cprint
cprint('\nJames Everleigh', 'red', attrs=['blink'])
cprint 还允许粗体、下划线等和小范围的颜色。