Skip to main content

print colorful string

Project description

printcolor
  • Usage
#pytho3.x
import printcolor
pc = printcolor.PrintColor()
pc.color(string,show="flash",front="green",back="yellow")
#pytho2.x
import printcolor
pc = printcolor.PrintColor()
pc.color("lash","green","yellow",string)
  • color
显示样式:
    hlt :  高亮
    underline : 下划线
    flash : 闪烁
字体/背景颜色:
    black : 黑色
    red:    红色
    green:  绿色
    yellow: 黄色
    blue:   蓝色
    carmine:胭脂红
    cyan:   青色
    white:  白色
- color
```text
显示样式:
    hlt :  高亮
    underline : 下划线
    flash : 闪烁
字体/背景颜色:
    black : 黑色
    red:    红色
    green:  绿色
    yellow: 黄色
    blue:   蓝色
    carmine:胭脂红
    cyan:   青色
    white:  白色

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

printcolor-1.1.3.tar.gz (2.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: printcolor-1.1.3.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for printcolor-1.1.3.tar.gz
Algorithm Hash digest
SHA256 418f4344702ee82ea71e75f828d96c3d7b76f878d759226ae6069d6d1d637cbe
MD5 09e5b4ba0d29895f18ba6a0e3e04e246
BLAKE2b-256 5839912dfec3a8650f8e529da2389f00f8de4115325adedb118448e18ac91c8b

See more details on using hashes here.

Supported by

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