Skip to main content

A package for color printing in the console

Project description

介绍

在控制台中用于彩色打印的包

安装

pip install --index-url https://pypi.org/simple colorPrintConsole

使用

from colorPrintConsole import ColorPrint

cp = ColorPrint()
print(cp.red('红色文本'))
print(cp.green('绿色文本'))
print(cp.yellow('黄色文本'))
print(cp.blue('蓝色文本'))
print(cp.magenta('品红色文本'))
print(cp.cyan('青色文本'))

Project details


Download files

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

Source Distribution

colorPrintConsole-1.0.2.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

colorPrintConsole-1.0.2-py3-none-any.whl (6.3 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