Michael Torrie <torr...@gmail.com> wrote:
> On 08/04/2017 05:45 PM, Ulli Horlacher wrote:
> > I have to transfer a python 2.7 CLI programm into one with a (simple) GUI.
> > The program must run on Linux and Windows and must be compilable with
> > pyinstall, because I have to ship a standalone windows.exe
> > Any kind of installer is not acceptable.
> > Reading https://github.com/pyinstaller/pyinstaller/wiki/Supported-Packages
> > supported GUI packages are PyGTK, PyQt4, PyQt5, wxPython
> > I have tested tkinter by myself and it works, too.
> > I do not like GTK and Qt, because they are too complex.
> > I want to do VERY simple things and I prefer a simple GUI toolkit :-)
> > Is there a recommendation for using tk or wx?
> Well tk is already an optional part of the Python standard library,
> whereas wx is an external package. So for your simple requirements, Tk
> may be the way to go. I'm guessing the tk would result in the smallest
> executable as well, though I could be very wrong.
> As for Qt, it's a large library, but it's not as complex as you think.
> In fact for simple GUIs it's no more complicated than wx or tk. So
> don't discount PyQt as being unworkable, though you do need to be aware
> of PyQt's license, which might be incompatible with your needs (it's GPL
> only unless you pay for it). PySide is largely compatible with PyQt
> code and is LGPL instead of GPL, so that could be an option as well.
I went through a similar process of deciding the easiest (for me) GUI
to go with. I've actually ended up with PyGtk as it feels for me the
'least foreign' compared with doing things the CLI way.