Re: More Tkinter questions

Bill Janssen (janssen@parc.xerox.com)
Tue, 7 Jun 1994 17:37:46 PDT

Excerpts from ext.python: 7-Jun-94 Re: More Tkinter questions
Guido.van.Rossum@cwi.nl (1396)

> I would use a single process and call select to figure out if there's
> anything to read from the socket. I don't know tk well enough (yet)
> to know if it has hooks for this, but you can always use 'after' to
> have some Python function called frequently (e.g. every 10 msec).

Actually, I'd like this in some non-Tk cases. There probably should be
a Python main loop module. I've been thinking that Python needs
pseudo-threads for non-threaded OS's, and this might be the driver.

I could perhaps take the main loop code out of the ILU distribution and
adapt it to be a mainloop module for Python. Certainly the basic code
to handle timer alarms and I/O event dispatching would be useful.

Bill