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


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pyunit_color-2020.2.11-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page