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
Hashes for printWithStyle-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0751fe2243c843c09f253e1e48dab11b5f3f5c46f724c24386d8b07ded74f26 |
|
MD5 | 93ab3e8fd6be2fdac178d70ff9d29275 |
|
BLAKE2b-256 | b262ae5e5d0cad96238335f84b00779e5ba1484c73a68f454fbff2f55ea2e44b |