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.7.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file print_wcolor-0.0.7.tar.gz
.
File metadata
- Download URL: print_wcolor-0.0.7.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 | 690db208dc4b06481025bd843b9cc4f161c4f08c8c859fb1f0c736dbed27ceb9 |
|
MD5 | 1c1287304973aa37e9a19f75c5cbe497 |
|
BLAKE2b-256 | 449a35408deee4d0e6821089f144bc3c14470b6a9192729d0e88c0ad13acb45f |
File details
Details for the file print_wcolor-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: print_wcolor-0.0.7-py3-none-any.whl
- Upload date:
- Size: 3.5 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 | 2322bcf6f07bec305ad2567678c1cfa97485c673003d8d3aa806451f8c09ba64 |
|
MD5 | a219ccab8c755f55285bd2b66fe67913 |
|
BLAKE2b-256 | ef1cbce14228ff0778f790c08847c9b613bfefc47c04d631870b777e151ea2c7 |