A simple code file demoing the PySimpleGUI table element and how to pick rows from it.
Notice that most print statements are replaced by log entries. This is useful if the module is to be compiled into an executable such as using the Nuitka framework.
Any output to console will pull up a CLI prompt which many users will find annoying.