Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #77812 > unrolled thread

very lightweight gui for win32 + python 3.4

Started byNagy László Zsolt <gandalf@shopzeus.com>
First post2014-09-12 18:35 +0200
Last post2014-09-22 19:09 -0700
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  very lightweight gui for win32 + python 3.4 Nagy László Zsolt <gandalf@shopzeus.com> - 2014-09-12 18:35 +0200
    Re: very lightweight gui for win32 + python 3.4 Wolfgang Keller <feliphil@gmx.net> - 2014-09-14 15:13 +0200
      Re: very lightweight gui for win32 + python 3.4 Tim Roberts <timr@probo.com> - 2014-09-22 19:09 -0700

#77812 — very lightweight gui for win32 + python 3.4

FromNagy László Zsolt <gandalf@shopzeus.com>
Date2014-09-12 18:35 +0200
Subjectvery lightweight gui for win32 + python 3.4
Message-ID<mailman.13974.1410539742.18130.python-list@python.org>
I wrote a small program that copies some files between directories. This 
is a special utility program for a particular customer. I could compile 
the program into a portable exe with cx_freeze, and the total size is 
below 10MB. This customer wants to use this utility on many computers.  
He wants me to display a dialog with a progress bar and possibly a label 
with some messages while files are copied, and also let the user answer 
a question by clicking a button instead of typing in "yes" or "no" into 
the console.

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.

What are my best options?

Thanks,

    Laszlo


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

[toc] | [next] | [standalone]


#77864

FromWolfgang Keller <feliphil@gmx.net>
Date2014-09-14 15:13 +0200
Message-ID<20140914151345.4a17399a94aee701b58137e5@gmx.net>
In reply to#77812
> wxPython and Qt are well known but they are not exactly lightweight.

wxPython not lightweight?

It's just a wrapper of win32.

Sincerely,

Wolfgang

[toc] | [prev] | [next] | [standalone]


#78189

FromTim Roberts <timr@probo.com>
Date2014-09-22 19:09 -0700
Message-ID<pel12ahcsil8jesevl11c4seg262og0b0v@4ax.com>
In reply to#77864
Wolfgang Keller <feliphil@gmx.net> wrote:
>
>> wxPython and Qt are well known but they are not exactly lightweight.
>
>wxPython not lightweight?
>
>It's just a wrapper of win32.

That's not really accurate.  wxWidgets does expose the Win32 APIs, but the
wrapping is not all that transparent.  And wxPython adds significant
functionality on the top of that.
-- 
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web