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 printcolor2
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
Release history Release notifications | RSS feed
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.2.0.tar.gz
(2.0 kB
view details)
File details
Details for the file printcolor-1.2.0.tar.gz.
File metadata
- Download URL: printcolor-1.2.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a16d3a7d31e3c9e93dce2f5885cb02fa253f0ef8d90ca144d192c851238757df
|
|
| MD5 |
3e33d91701cae4b568f9cc335a12ae38
|
|
| BLAKE2b-256 |
13d8148430fa6e6bf62f7f559068526e6b4d8f10601e9eff58da166d9170dd5a
|