The Python Game Book

code games. learn Python.

User Tools

Site Tools


Sidebar

Github:

en:glossary:p:pysimplegui

PySimpleGui

An external, free, libre, open-source python library, providing simplified GUI programming. At the moment, Tkinter is best supported but there exist ports for qt and web among others.

Installation is very easy, either by using pip or by simply copying one pysimplegui.py file in the work directory.

Some examples can be viewed / edited online using trinket.io:

Pysimplegui removed the need of progamming and caring for threads by providing the necessary functionality “under the hood”..the user can work with a simplified main loop that reacts to user events (like a button is pressed).

widget layout is done by simply making a “row” layout with a python list of lists, each element in the list is row in the gui, each element in the inner list is a widget in that row.

example code

en/glossary/p/pysimplegui.txt · Last modified: 2020/07/19 16:42 by horst