Mar-02-2022, 03:28 AM
Mar-02-2022, 11:53 AM
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.
![[Image: k3rcat.png]](https://imagizer.imageshack.com/v2/xq90/923/k3rcat.png)
Code for this.
Python can do better than this with the fantastic Rich✨.
Also if combine with Pyfiglet then can look like this.
![[Image: k3rcat.png]](https://imagizer.imageshack.com/v2/xq90/923/k3rcat.png)
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
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.
![[Image: cH4RoJ.png]](https://imagizer.imageshack.com/v2/xq90/923/cH4RoJ.png)
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}]')
![[Image: cH4RoJ.png]](https://imagizer.imageshack.com/v2/xq90/923/cH4RoJ.png)
Mar-03-2022, 01:29 AM
Thank you all for your support, I'm checking right now👍🙏🙏🙏🙏🙏🙏🙏
Aug-13-2024, 07:26 AM
(Mar-02-2022, 03:28 AM)tomtom Wrote: [ -> ]How can I print text with such Link Removed like this one on this picture?
Your support is highly appriciated in advance 🙏🙏🙏🙏
Was your problem solved?