设置Python打印格式

mac2022-06-30  25

>>> def esc(code): ... return f'\033[{code}m' ... >>> print(esc('31;1;4') + 'really' + esc(0) + ' important')

转载于:https://www.cnblogs.com/c-x-a/p/11363749.html

最新回复(0)