Where there is a Will there is a way.

墨蓝 2022-12-29 04:49 361阅读 0赞

安利一个很有意思的python库—rich

    • 安装:
    • 使用
    • 效果
    • 更多

前情提要:github给推荐的,star有18k的python库,然后我竟然没了解过…

安装:

直接pip

  1. pip install rich

使用

  1. from rich import print
  2. print("Where there is a [bold cyan]Will[/bold cyan] there [u]is[/u] a [i]way[/i].")

效果

在这里插入图片描述

更多

https://github.com/willmcgugan/rich

发表评论

表情:
评论列表 (有 0 条评论,361人围观)

还没有评论,来说两句吧...

相关阅读