Building basic dialog in Windows?

Thomas Heller theller at python.net
Tue Aug 24 14:24:00 EDT 2004


Fred <nobody at nowhere.com> writes:

> Hi,
>
> 	I'd like to turn a command-line script into a Windows GUI app
> using the native widgets so as to reduce the size of the binary (ie.
> no QT, wxWidgets, et al.)
>
> I came up with the following list of tools to access the Win32 API:
>
> - PythonWin (MFC) http://www.python.org/windows/pythonwin/
> - ctypes http://starship.python.net/crew/theller/ctypes/
> - EasyDialogs for Windows
> http://www.averdevelopment.com/python/EasyDialogs.html
> - DynWin http://www.nightmare.com/~rushing/dynwin/
> - sdk32 - Partial Python wrap of the Win32 Platform SDK
> http://www.object-craft.com.au/projects/sdk32/

You've missed venster http://venster.sf.net/

>
> Does someone have a sample on how to display an OK/Cancel dialog with
> a label + progress bar? Should I look at other tools?

I think pywin32 has what you need, the makepy utility displays such a
progress dialog when creating python wrappers for large typelibraries.

Thomas



More information about the Python-list mailing list