摘要:
``` >>> def esc(code): ... return f'\033[{code}m' ... >>> print(esc('31;1;4') + 'really' + esc(0) + ' important') ``` 阅读全文
摘要:
安装 示例代码 阅读全文
摘要:
优化之后 阅读全文
摘要:
通过设置dumps的indent参数,能够实现pprint打印的效果。让结构格式更加好看。 阅读全文