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.6.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file print_wcolor-0.0.6.tar.gz
.
File metadata
- Download URL: print_wcolor-0.0.6.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 | fba318a77c4293a3fad31aa289e2bf8b92a591e1046fbae2d9c22b9bf72b1f9f |
|
MD5 | e752570f541f6f36e99136fe36326c06 |
|
BLAKE2b-256 | 70ddfaf3691431b49c75acf13e7e3975a4ed2c17212f6408118f38f16b03e700 |
File details
Details for the file print_wcolor-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: print_wcolor-0.0.6-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 | 0c5ee0730e9562cc176f767e79ecb9bc7026085de3601c642551b05328b9488e |
|
MD5 | e7597ceca44d31d591e75d6e2bf32a62 |
|
BLAKE2b-256 | 164db6cc3b3fa51d5e4bf8e0fdcbcb0a1ca93ff434020e8571c3de9089dcbbf3 |