very lightweight gui for win32 + python 3.4

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Sep 12 19:08:18 CEST 2014


On 12/09/2014 17:38, Chris Angelico wrote:
> On Sat, Sep 13, 2014 at 2:35 AM, Nagy László Zsolt <gandalf at shopzeus.com> wrote:
>> So I need to create a GUI mode version of my program. That the customer
>> should be able to see a progress bar. What kind of GUI toolkit should I use
>> for this? I would like this to be lightweight, preferably under 5MB with a
>> very easy API for simple things like create a dialog, put some labels and a
>> progress bar on it, and finally close the dialog when the program is
>> finished. (And of course, needs to work with cx Freeze.)
>>
>> I do not need a full featured cross platform GUI toolkit. What are my
>> options?
>>
>> I have been looking at this:
>>
>> https://wiki.python.org/moin/GuiProgramming
>>
>> The only Windows specific lightweight frameworks are venster and Ocean but
>> they have not been updated since ages. I know that I can do this using the
>> win32 API, but I don't really want to learn how to build a dialog using
>> win32 API calls and then process window message queues....  wxPython and Qt
>> are well known but they are not exactly lightweight.
>
> There's absolutely no reason to go Windows-specific. Use Tkinter -
> it's pretty light-weight. Comes with most Python distros. See how it
> goes in terms of code size - if it's unsuitable, then look at others,
> but start with the obvious option.
>
> ChrisA
>

As IDLE comes with all Python distros shouldn't the same apply to 
tkinter as that's what IDLE is based around?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list