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.3.tar.gz
(1.6 kB
view details)
Built Distribution
File details
Details for the file print_wcolor-0.0.3.tar.gz
.
File metadata
- Download URL: print_wcolor-0.0.3.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d738491dd84d0c3bf1652a95de4d215b73c5b3a6875a8b264cffe9973be27b54 |
|
MD5 | 63b084daf059e56ca01a3bed00c7aee8 |
|
BLAKE2b-256 | c9f785238b5d0080e8315e9b1c5f4bc47634bee339c37199b9360906d40bc5b5 |
File details
Details for the file print_wcolor-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: print_wcolor-0.0.3-py3-none-any.whl
- Upload date:
- Size: 1.8 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 | 16ceadac2e6eaecb78af9bc0df85724dffd3ea7b2c4960bd876ca91cf95c3ac8 |
|
MD5 | f81d9b95061becbf749a61bdca03d0c9 |
|
BLAKE2b-256 | d5eb5983ce5f7cdd5a6e9b159c353bda87733c5f99cd1bff2b912cbaa070a427 |