Web Analytics Made Easy - Statcounter
Skip to content

psgfiglet

Create Figlets

psgfiglet

Installation

python -m pip install psgfiglet

or

python3 -m pip install psgfiglet

GitHub Repo Location

https://github.com/PySimpleGUI/psgfiglet

Launching

From the command line:

psgfiglet

You can also use the psgshortcut utility to make a double-clickable shortcut icon for Windows that can also be pinned to the Taskbar.

"Authored in, but not limited to PySimpleGUI"

Like many of the utilities that have been released as part of the PySimpleGUI project, they were developed using PySimpleGUI, but their use is not limited to PySimpleGUI-based project.

What's a Figlet?

A Figlet is a text based way to add large block text to your code, email, chats, etc. It's like ASCII-art but for text.

They're particularly good for marking the beginning of a section of code or an important function. For example, the word "main" below is a figlet.

'''
                    oo          

88d8b.d8b. .d8888b. dP 88d888b. 
88'`88'`88 88'  `88 88 88'  `88 
88  88  88 88.  .88 88 88    88 
dP  dP  dP `88888P8 dP dP    dP
'''

def main():
    x = 20

There are a variety of "Fonts" available that you'll find listed along the left side of the application's window.

pyfiglet Package

This program wouldn't be possible were it not for the terrific work done by the pyfiglet authors. The pyfiglet package is being used under an MIT license. You can learn more about pyfiglet here: https://github.com/pwaller/pyfiglet