[Tkinter-discuss] Python GUI wrapper for a long operation

Oleg A. Paraschenko usenet at datahansa.com
Tue Apr 20 23:13:31 EDT 2004


  Hello,

  maybe of some interest:

A complete Python Tkinter sample application for a long operation
http://uucode.com/texts/pylongopgui/pyguiapp.html

  A complete Python Tkinter application demonstrates one of the ways
to implement a GUI wrapper for a long operation. The long operation
works in a separated thread without frozing a GUI. A progress bar
visializes a progress in calculations. A notification widget displays
log messages. User can cancel the operation. Log messages are stored
in a viewable history buffer.


  Please beware that documentation describes how things are done, but
does not explain why. It is so because some advanceed knowledge is
assumed:

* threads,
* master-view-controller pattern (it is partially used in the code),
* logging in a log4j style.


  Regards, Oleg



More information about the Tkinter-discuss mailing list