Skip to main content

A library for printing colored text. 这是一个用来打印彩色文字的库。

Project description

color_text

This is a library for printing colored texts.

这是一个用来打印彩色文字的库。

Note 注意

Best used in Python 3.8

最好在 Python 3.8 上使用

Install 安装

pip3 install color_text

Example 例子

from color_text import *

printLightRed("This is a light red text.")
printYellow("This is a yellow text.")
printRed("This is a red text.")
printGreen("This is a green text.")
printBlack("This is a black text.")
printBlue("This is a blue text.")
printPurple("This is a purple text.")
printWhite("This is a white text.")
printGrey("This is a grey text.")
printGray("This is a grey text too.")
printLightBlue("This is a light blue text.")
printVeryLightGreen("This is a very light green text.")
printLightPurple("This is a light purple text.")
printLightYellow("This is a light yellow text.")
printGlossWhite("This is a gloss white text.")
printLightGreen("This is a light green text.")
printLightGreen("This is a light green text too.", 2)
Print("This is a text.")

# You can see the result of this example in the exaple() function of this library.
# 你可以在这个库的 exaple() 函数中看到这个例子的结果。(如果计算机默认语言是中文的就会看到中文结果,函数的顺序是一样的)

What's new in this version 这个版本中的新功能

  • Added tutorials in built-in function help().

  • 增加了内置函数 help() 中的教程

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

color_text-1.1.3.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

color_text-1.1.3-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file color_text-1.1.3.tar.gz.

File metadata

  • Download URL: color_text-1.1.3.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.1

File hashes

Hashes for color_text-1.1.3.tar.gz
Algorithm Hash digest
SHA256 0fc6ee77a09f5f190e65c4d171e9fece216b6a4bb02bfe4adb11516243a5ed01
MD5 a479f8f9d9e18a6f0ef569bb5198bb4b
BLAKE2b-256 ba0b6353aba3fa9e284fb9ea6a33374cb95b1360a2888a910551e0711c47ebf3

See more details on using hashes here.

File details

Details for the file color_text-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: color_text-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.1

File hashes

Hashes for color_text-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 53a49ba3e7561f89347f6a596902c787fa365a8bdf6f7f54e271f650eb73d09f
MD5 e49d1ebb44e5bd3b41a995f5e48437a2
BLAKE2b-256 44772c22016a453ea749fdf872d5764b0f085bf7db89e1d3f8d1d5859f7aeb08

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