beginners choice: wx or tk?

Chris Angelico rosuav at
Sat Jul 11 19:39:20 CEST 2015

On Sun, Jul 12, 2015 at 3:25 AM, John Ladasky
<john_ladasky at> wrote:
> On Saturday, July 11, 2015 at 2:51:32 AM UTC-7, Ulli Horlacher wrote:
>> Chris Angelico <ros... at> wrote:
>> > There are other choices, too - pygtk/pygobject (GTK) and pyqt (Qt)
>> > come to mind
>> Both create BIG executables, much bigger than with wx or tk.
> I worked with wxPython back when I was using Python 2.  I got impatient waiting for Phoenix when I switched to Python 3, so I started using PyQt as my GUI.
> I'm happy with PyQt.  I haven't created standalone executable files with it, though.  Do they necessarily have to be large?  I would think that well-written import statements would cut down on the file size.  Just import the objects you need, rather than the whole namespace.  PyQt is even organized in sub-modules, apparently to encourage you to refrain from importing everything.

If there are submodules that you aren't importing, then it's possible
they don't need to be included. But if you just import a few names
from a module, you still need the entire module to be included.


More information about the Python-list mailing list