I haven't tried it, but the current version has a "dooneevent()"
function which seems to do what you want -- simply call it often
enough in your other code and the Tk widgets will appear to be fully
interactive. Of course if your other command loop blocks waiting for
input from somewhere else, this won't work -- there it's probably
better to use select (and Tk supports select using
"createfilehandler()").
--Guido van Rossum, CWI, Amsterdam <mailto:Guido.van.Rossum@cwi.nl>
<http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>