Web Analytics Made Easy - Statcounter
Skip to content

The Main PySimpleGUI Program

Test Harness, Global Settings, Debug Information, Upgrade from GitHub

A convention that PySimpleGUI uses is that standalone entry points start with "main_". These calls are essentially a mini-program within the PySimpleGUI.py file.

Used to get SDK help, test the installation, get information about the versions, upgrade from GitHub.

You can call main() from your code and then access these other features such as the global settings. You can also directly call these functions.

You can also type psgmain from the command line to access it if you have pip installed your copy of PySimpleGUI.


The PySimpleGUI "Test Harness". This is meant to be a super-quick test of the Elements.