Image

PySimpleGUI creates graphical user interfaces (GUIs) using Python, quickly and easily!

To try PySimpleGUI, start with these simple steps. (Or, if you are ready: Sign Up Now)

Get started with these simple steps:

  1. Make sure Python is installed.
  2. Install PySimpleGUI:
    python -m pip install pysimplegui
  3. Download main.py, which contains:
    import PySimpleGUI as sg
    
    # All the stuff inside your window.
    layout = [  [sg.Text("What's your name?")],
                [sg.InputText()],
                [sg.Button('Ok'), sg.Button('Cancel')] ]
    
    # Create the Window
    window = sg.Window('Hello Example', layout)
    
    # Event Loop to process "events" and get the "values" of the inputs
    while True:
        event, values = window.read()
    
        # if user closes window or clicks cancel
        if event == sg.WIN_CLOSED or event == 'Cancel':
            break
    
        print('Hello', values[0], '!')
    
    window.close()
    
  4. Run:
    python main.py

You will see this window:

The Try It! page lets you interact with this example and PySimpleGUI.

Next step: Get started! It's this easy to create your GUI with PySimpleGUI. The documentation tells you everything you need to know.

You have 30 days to try PySimpleGUI. Before your trial ends, you will need to register:

  • Hobbyist Users register at NO COST
  • Commercial User licenses start at $99/year

If you prefer, you can register now.