Constants and functions for formatting outputs.
wmtexe.formatting.
black
(text)¶wmtexe.formatting.
blink
(text)¶wmtexe.formatting.
blue
(text)¶wmtexe.formatting.
bright
(text)¶wmtexe.formatting.
brown
(text)¶wmtexe.formatting.
camel_case
(text)[source]¶Camel-cases text.
Parameters: | text : str
|
---|---|
Returns: | str
|
wmtexe.formatting.
create_color_func
(name)[source]¶Creates a function that colors text.
Parameters: | name : str
|
---|---|
Returns: | function
|
wmtexe.formatting.
cyan
(text)¶wmtexe.formatting.
darkgray
(text)¶wmtexe.formatting.
dim
(text)¶wmtexe.formatting.
fast
(text)¶wmtexe.formatting.
format
(name, text)[source]¶Formats text.
Parameters: | name : str
text : str
|
---|---|
Returns: | str
|
wmtexe.formatting.
green
(text)¶wmtexe.formatting.
lightblue
(text)¶wmtexe.formatting.
lightcyan
(text)¶wmtexe.formatting.
lightgray
(text)¶wmtexe.formatting.
lightgreen
(text)¶wmtexe.formatting.
lightpurple
(text)¶wmtexe.formatting.
lightred
(text)¶wmtexe.formatting.
purple
(text)¶wmtexe.formatting.
red
(text)¶wmtexe.formatting.
reset
(text)¶wmtexe.formatting.
reverse
(text)¶wmtexe.formatting.
standout
(text)¶wmtexe.formatting.
underline
(text)¶wmtexe.formatting.
white
(text)¶wmtexe.formatting.
xout
(text)¶wmtexe.formatting.
yellow
(text)¶