No project description provided
Project description
printWithStyle
Style your print.
Module
printWithStyle(text, bold=False, italic=False, underline=False, foreground=None, background=None)
text: text to print
Has to be str or list[str] (if list[str] is used every element of the list in a line).
bold: style the text bold
Has to be bool.
italic: style the text italic
Has to be bool.
underline: style the text underline
Has to be bool.
foreground: foreground color
Has to be str. (possible values: "black", "red", "green", "yellow", "blue", "magenta", "cyan", "white")
background: background color
Has to be str. (possible values: "black", "red", "green", "yellow", "blue", "magenta", "cyan", "white")
Usage
from printWithStyle import *
printWithStyle(["Hello","World"], bold=True)
Output:
Hello
World
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file printWithStyle-0.0.2.tar.gz.
File metadata
- Download URL: printWithStyle-0.0.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fd9870c5341c563fae2237e2e1668068dc1f14f84fc6c5c3820a30ad474f466
|
|
| MD5 |
7ff3ef522ab839681def4af8b4d84199
|
|
| BLAKE2b-256 |
bcee1aa242c795c2f73e6b54bdc543b48bf9bc11cc14d54627ae61d3e18b7cd5
|
File details
Details for the file printWithStyle-0.0.2-py3-none-any.whl.
File metadata
- Download URL: printWithStyle-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0751fe2243c843c09f253e1e48dab11b5f3f5c46f724c24386d8b07ded74f26
|
|
| MD5 |
93ab3e8fd6be2fdac178d70ff9d29275
|
|
| BLAKE2b-256 |
b262ae5e5d0cad96238335f84b00779e5ba1484c73a68f454fbff2f55ea2e44b
|