print_wcolor
Project description
print_wcolor
使用print_wcolor可以打印出彩色字体和彩色背景
Use Print WColor to print out colored fonts and colored backgrounds 使用示例
for example
import print_wcolor
if __name__=="__main__":
print_wcolor("i think,therefor i am",fg="red",bg="green")
其中"i think,therefor i am"是要打印的信息,fg是字体颜色,bg是背景颜色。
Where "I think,therefor I am" is the information to be printed, fg is the font color, bg is the background color.
关键词fg选项如下
Keyword FG options are as follows
{"black","red","green","yellow","blue","purple","cyan","white"}
关键词bg选项如下
Keyword BG options are as follows
{"black","red","green","yellow","blue","purple","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
print_wcolor-0.0.5.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file print_wcolor-0.0.5.tar.gz
.
File metadata
- Download URL: print_wcolor-0.0.5.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cf6e79da1a7588b37f7af3cd4b0ff8a73e8bcda9c51e419d4f835b57e67b824 |
|
MD5 | 40b3b309db423c592e28fac529e3d855 |
|
BLAKE2b-256 | 456ba4c1195f027739afa60b8aefbe87c633c9fed751404b9c02434225a836f5 |
File details
Details for the file print_wcolor-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: print_wcolor-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2b8098452f853ba9635eacf7969fcf8e5a11c1f17d394ea93ca56ab92c81f90 |
|
MD5 | f8b95248a84a3a21b4cf9189eebdad0e |
|
BLAKE2b-256 | 8819b138aa03b40fbaef68b6d60265525e8b6d506ec3492df69bb8317d6230e2 |