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 details)

Uploaded Python 3

File details

Details for the file pyunit_color-2020.2.11-py3-none-any.whl.

File metadata

  • Download URL: pyunit_color-2020.2.11-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for pyunit_color-2020.2.11-py3-none-any.whl
Algorithm Hash digest
SHA256 48d5d7084c07bf33d32c1f2c4fd483a248de392f1c90fae8e73b8126c91c83f4
MD5 6a45d5343097e8f28c856c7581f80047
BLAKE2b-256 6d3957186288d8380704c581b9ab0f4a898a25972ba23e06941776773bfb73b0

See more details on using hashes here.

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