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}]') ![]()
Thank you all for your support, I'm checking right now👍🙏🙏🙏🙏🙏🙏🙏
Aug-13-2024, 07:26 AM
(This post was last modified: Aug-13-2024, 08:14 AM by Gribouillis.)
(Mar-02-2022, 03:28 AM)tomtom Wrote: How can I print text with such Link Removed like this one on this picture? Was your problem solved? Gribouillis write Aug-13-2024, 08:14 AM:
Clickbait link removed. Please read What to NOT include in a post |
|
Users browsing this thread: 1 Guest(s)