text_advanced.printing#

printing module of text-advanced, used for printing and streaming

Module Contents#

Classes#

Functions#

prints

Prints the text as a special color: prints(“Hello”, color=Color.Red()) Outputs Hello in Red

API#

class text_advanced.printing.Stream(*vals: str)#

Initialization

print_stream(timer: float = 0.2, sep: str = ' ', end: str = '\n') None#
print_spaces(timer: float = 0.4, sep: str = ' ', end: str = '\n')#
print_newlines(timer: float = 0.3, sep: str = ' ', end: str = '\n')#
__repr__() str#
text_advanced.printing.prints(*vals: str, color: text_advanced.Color | None = None, style: text_advanced.Style | None = None, sep: str = ' ', end: str = '\n', flush: bool = False)#

Prints the text as a special color: prints(“Hello”, color=Color.Red()) Outputs Hello in Red

class text_advanced.printing.BorderText(text: str, color: text_advanced.Color | None = None)#

Initialization

__repr__() str#
normal() str#