DEV Community

Discussion on: Best Python framework for building a desktop application and GUI

Collapse
 
williamlake profile image
William Lake

I've found PySimpleGUI to be a great platform for quickly building a desktop app. Everything I've built with it is small (I.e. not an enterprise application,) so take my evaluation with a grain of salt- but my experiences have all been fantastic. My only real gripe is their readthedocs page is a bit of a mess.

Collapse
 
benstigsen profile image
Benjamin Stigsen

This, to all points. Small application, simple GUI development, but the docs are a mess.

Collapse
 
pysimplegui profile image
PySimpleGUI • Edited

Be sure and use the version of the docs that are on ReadTheDocs ( PySimpleGUI.org ). There is a table of contents that spans the entire left portion of the window. There are also 3 tabs. One of the tabs is the call reference. It has every Element, every element's methods, all functions, and parameters and return codes for each of them. Another is a Cookbook with a number of small projects detailed for you to follow and run.

Yes, having hundreds of pages of information in the lengthy format it's in does make it challenging at times, but it also makes searching really easy, and, most importantly..... it exists and is thorough. Most individual efforts like PySimpleGUI is don't have any documentation to speak of.

In addition, be sure and look through the couple hundred demo programs that show you how to apply each of the elements as well as how to integrate with a number of other important packages like 'matplotlib and OpenCV.

The documentation isn't just one thing in PySimpleGUI. It's meant to be an entire "system" of documentation that works together.

Oh, one final bit of the documentation is the doc strings. There's a YouTube tutorial about how to install PyCharm for use with PySimpleGUI because of the docstrings. They are a HUGE part of the PySimpleGUI documentation. They are the reason you should rarely need to open the main documentation. Press Control+Q and you're shown everything about a particular element's method's parameters. These docstrings are what is used to build the call reference portion of the printed docs.

Collapse
 
angelbearuk profile image
Kristy Whalen

The last time I tried PySimpleGUI, I felt it was effective for teaching a child how to program a gui, but that was in 2017. I was pretty underwhelmed, to say the least.

Collapse
 
pysimplegui profile image
PySimpleGUI

Huh... musta been something different. PySimpleGUI wasn't released until July 2018.

I've seen PySimpleGUI confused with SimpleGUI or something similar by a couple of people. Many of the earlier attempts at a simple Python GUI package have been abandoned, so perhaps this is why you've not seen any changes since 2017?

Thread Thread
 
angelbearuk profile image
Kristy Whalen • Edited

No, it was PySimpleGui. I had the year wrong. I just went through it's documentation two days ago, I couldn't figure out how to disable a text input based on some condition. It really hasn't changed much, but hey there a gozillion themes now.

Thread Thread
 
pysimplegui profile image
PySimpleGUI
window['input key'].update(disabled=True)
Enter fullscreen mode Exit fullscreen mode