What Was Made Simple?
Looking at GUIs with fresh eyes, using a clean white sheet of paper, one can think of GUIs are having 2 main steps.
- Create the window
- Make the window do something useful
Let's assume, for the time being, that these 2 steps are entirely separated and worry about how to put them together later. This simplifies the problem by pushing the details of the "make it do something" step from the "creation" step.
We'll also add this anti-complexity rule:
* The library will not require users to write classes.
class must not be required
in a programmer's
.py file. If you want to use classes in your application, you're welcomed to, but PySimpleGUI never requires the use of classes.
APIs in Addition to User Interface Calls
PySimpleGUI goes a step further in simplifying the development of GUI applications. A number of modules are frequently used when developing a complex application. The application may need to save settings values or use multi-threading.
Just like GUI SDKs, these SDKs can be complex for beginning programmers. PySimpleGUI reduces the amount of code needed to access these services. Commonly used settings/parameters are automatically filled in for you, simplifying the effort in writing a complete application.
Some of the non-GUI interfaces PySimpleGUI provides access to include:
- User Settings SDK - JSON and Config (INI) file reading/writing
- Exec SDK - Execution SDK for multi-threading and subprocessing, thread communications
- Clipboard SDK - accessing the clipboard in a simple way with no additional packages
- Timer Services - schedule single or recurring timer events in a single call