推荐学习书目
› 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
woshichuanqilz
V2EX  ›  Python

Python 或者 windows 上面有没有在命令行打印图案的 packages 或者 工具?

  •  
  •   woshichuanqilz · Nov 29, 2017 · 2337 views
    This topic created in 3221 days ago, the information mentioned may be changed or developed.

    想让 python 在 windows 的 cmd 里面的输出漂亮一点所以想到能不能有些工具能输出一些漂亮的图案。

    3 replies  •  2017-11-30 01:50:33 +08:00
    hcnhcn012
        1
    hcnhcn012  
       Nov 29, 2017 via iPhone
    Ncurse
    qq976739120
        2
    qq976739120  
       Nov 29, 2017
    输出图案??
    ysc3839
        3
    ysc3839  
       Nov 30, 2017 via Android
    Windows 10 开始控制台支持 ASCII 颜色代码了,直接像写 Linux 程序那样输出就有颜色。之前的 Windows 必须调用 API 修改颜色,可以考虑自己写个转换函数,解析控制字符然后调用 API。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   851 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 20:19 · PVG 04:19 · LAX 13:19 · JFK 16:19
    ♥ Do have faith in what you're doing.