text_advanced.printing module
printing module of text-advanced, used for printing and streaming
-
class text_advanced.printing.Stream(*vals: str)
Bases: object
-
print_newlines(timer: float = 0.3, sep: str = ' ', end: str = '\n')
-
print_spaces(timer: float = 0.4, sep: str = ' ', end: str = '\n')
-
print_stream(timer: float = 0.2, sep: str = ' ', end: str = '\n') → None
-
text_advanced.printing.prints(*vals: str, color: Color | None = None, style: 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