Relative Content

Tag Archive for pythonmultithreadingmultiprocessing

Changes in child processes variables not reflected in parent object

I have a parent class in Python that can start a process in a child class. The child class has a multiprocessing.Process that changes some variables. I would expect changes to be visible for the parent class since the object is created there, but somehow, the variables are not shared. The process is started as a fork.

Do multiple mouse click & move tasks at the same time

I’m trying to make it so that I can click and move the mouse to do different things at the same time. An example would be this where I want to get the mouse to draw 2 boxes at the same time. No, I can’t draw them separately one by one.