I am trying to create an app which will have a main window from which
the user will launch other (children) windows.
When I launch the child window I start a new thread which periodically
polls another device and updates the child window accordingly. When I
dismiss the child window the "polling"
On Feb 20, 11:22 am, koranthala wrote:
>
> thread.setDaemon(True)
> Makes it a daemon thread which means that interpreter will not stay
> alive if only that thread is alive.
My main window is used to launch multiple children and therefore when
one is dismissed the interpreter will remain active.
On Feb 20, 11:21 am, "Gabriel Genellina"
wrote:
> 1) make the child window set a flag in the thread (let's say, t.terminate
> = True). And make the polling thread check the flag periodically (you
> possibly already have a loop there - just break the loop when you detect
> that self.terminate
I am trying to simulate the execution of some PLC ladder logic in
python.
I manually modified the rungs and executed this within python as a
proof of concept, but I'd like to be able to skip the modification
step. My thought was that this might be able to be completed via
overloading, but I am n