import pyfiglet txt = "title" banner = pyfiglet.figlet_format(txt, font="slant", justify="center") print(banner)