Print text with big font and style
Print text with big font and style
|
It usually called Ascii Text when get view in Terminal(command line).
Python can do better than this with the fantastic Rich✨. Also if combine with Pyfiglet then can look like this. Code for this. # pip install rich pyfiglet import pyfiglet from rich import print title = pyfiglet.figlet_format('Hello', font='isometric2') print(f'[yellow]{title}[/yellow]')Finish made fonts
Mar-02-2022, 03:52 PM
(This post was last modified: Mar-02-2022, 03:58 PM by BashBedlam.)
That exact font is called 'ANSI Shadow' and can be found HERE
print ('██████╗ █████╗ ███████╗██╗ ██╗') print ('██╔══██╗██╔══██╗██╔════╝██║ ██║') print ('██████╔╝███████║███████╗███████║') print ('██╔══██╗██╔══██║╚════██║██╔══██║') print ('██████╔╝██║ ██║███████║██║ ██║') print ('╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝') print () print ('██████╗ ███████╗██████╗ ██╗ █████╗ ███╗ ███╗') print ('██╔══██╗██╔════╝██╔══██╗██║ ██╔══██╗████╗ ████║') print ('██████╔╝█████╗ ██║ ██║██║ ███████║██╔████╔██║') print ('██╔══██╗██╔══╝ ██║ ██║██║ ██╔══██║██║╚██╔╝██║') print ('██████╔╝███████╗██████╔╝███████╗██║ ██║██║ ╚═╝ ██║')
Mar-02-2022, 04:12 PM
The same with less noise in the code
print('''\ ██████╗ █████╗ ███████╗██╗ ██╗ ██╔══██╗██╔══██╗██╔════╝██║ ██║ ██████╔╝███████║███████╗███████║ ██╔══██╗██╔══██║╚════██║██╔══██║ ██████╔╝██║ ██║███████║██║ ██║ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ██████╗ ███████╗██████╗ ██╗ █████╗ ███╗ ███╗ ██╔══██╗██╔════╝██╔══██╗██║ ██╔══██╗████╗ ████║ ██████╔╝█████╗ ██║ ██║██║ ███████║██╔████╔██║ ██╔══██╗██╔══╝ ██║ ██║██║ ██╔══██║██║╚██╔╝██║ ██████╔╝███████╗██████╔╝███████╗██║ ██║██║ ╚═╝ ██║''')
Mar-02-2022, 05:08 PM
One more with Rich,just look at my list of color combination that is accepted 🌞
Rich is something special and i heard that Will McGugan took a year off to work on Rich and Textual. from rich import print font = '''\ ██████╗ █████╗ ███████╗██╗ ██╗ ██╔══██╗██╔══██╗██╔════╝██║ ██║ ██████╔╝███████║███████╗███████║ ██╔══██╗██╔══██║╚════██║██╔══██║ ██████╔╝██║ ██║███████║██║ ██║ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ██████╗ ███████╗██████╗ ██╗ █████╗ ███╗ ███╗ ██╔══██╗██╔════╝██╔══██╗██║ ██╔══██╗████╗ ████║ ██████╔╝█████╗ ██║ ██║██║ ███████║██╔████╔██║ ██╔══██╗██╔══╝ ██║ ██║██║ ██╔══██║██║╚██╔╝██║ ██████╔╝███████╗██████╔╝███████╗██║ ██║██║ ╚═╝ ██║ ╚═════╝ ╚══════╝╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝''' colors = ['cornflower_blue', 'rgb(175,0,255)', 'yellow on blue', '#38761d on #a64d79'] for color in colors: print(f'[{color}]{font}[/{color}]') |
|
Users browsing this thread: 2 Guest(s)