Skip to content
Discussion options

You must be logged in to vote
from time import sleep
from rich.console import Console
from rich.text import Text


text = Text.from_markup("[b]slow[/b] [magenta]printing[/magenta] for [u]Tetraslam")
console = Console()
for c in text:
    console.print(c, end="")
    sleep(0.1)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Tetraslam
Comment options

Answer selected by Tetraslam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants