[pygtk] Beginner question on running PyGTK

A.T.Hofkamp a.t.hofkamp at tue.nl
Mon May 17 18:42:15 WST 2010


Neil Benn wrote:
> Hello,
> 
> Thanks for the reply. I'm puzzled here; I have a camera running in the background grabbing frames
> from the camera; running some preprocessing on the frames and then presenting the image on the
window. I'm also thinking of recording some entries into a database and possibly making some network
calls when the app is runnign in an 'admin' mode. I've programmed Java, .NET and so on and the

It sounds like you are writing an asynchronous communication program. The defacto standard solution 
at #python for such problems is to use Twisted in such cases, a framework designed for writing such 
programs.

Twisted will happily run your pygtk UI alongside whatever other I/O activities you do, in an 
event-based manner.



Albert


More information about the pygtk mailing list