Adding GUI to application

Simon Brunning SBrunning at
Thu Feb 21 04:22:14 EST 2002

> From:	mgash at [SMTP:mgash at]
> I feel that this change will have to be multi-threaded, but as I have
> said, I am a newbie to programming and am 'drowning' whilst trying to
> complete this.
One way of doing this would be to run the thing as a service, as Andrae
pointed out. Another would be to run the GUI element and the scan element in
separate threads.

Starting the threads up isn't too complicated - see the effbot's "Python
Standard Library" for an example. (You can look at my copy - I'm only up the
stairs, after all. <wink>)

But then you need to get your two threads to communicate. I don't know how
to do this, but I'd have a look at the Queue module if I were you.

Good hunting!

Simon Brunning
TriSystems Ltd.
sbrunning at

The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.

More information about the Python-list mailing list