推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
songdg
V2EX  ›  Python

rich 库为什么不能打印有颜色的字

  •  
  •   songdg · May 26, 2020 · 2612 views
    This topic created in 2193 days ago, the information mentioned may be changed or developed.
    from rich import print
    print("[bold red]alert![/bold red] Something happened")
    这应该能打印出粗体红色“alert!”,为什么我在 spyder 下运行这段代码字体一点变化都没有。
    1 replies    2020-05-26 13:33:05 +08:00
    xiaolinjia
        1
    xiaolinjia  
       May 26, 2020
    我估计是你控制台不支持吧。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4273 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 05:29 · PVG 13:29 · LAX 22:29 · JFK 01:29
    ♥ Do have faith in what you're doing.