Skip to main content

控制台打印颜色信息

Project description

pyUnit-color

日志处理模块集合

安装

pip install pyunit-color

控制台打印颜色

from pyunit_color import FontColor

def test():
    print(FontColor.red('打印红色'))
    print(FontColor.green('打印绿色'))
    print(FontColor.blue('打印蓝色'))
    print('不打印颜色')

if __name__ == '__main__':
    test()

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyunit-color, version 2020.2.11
Filename, size File type Python version Upload date Hashes
Filename, size pyunit_color-2020.2.11-py3-none-any.whl (2.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page