zl程序教程

您现在的位置是:首页 >  后端

当前栏目

设置Python打印格式

Python 设置 格式 打印
2023-09-14 09:06:35 时间
>>> def esc(code):
...     return f'\033[{code}m'
...
>>> print(esc('31;1;4') + 'really' + esc(0) + ' important')