For me the question is not clear,maybe you are talking about asynchronously message passing between two long running program as an example GUI programs(because you are talking about mouse control?)
You have Actor Model
or a better word for it "message passing concurrency".
There are of course a lot of concurrency/asynchronously solutions for Python,all Threading stuff in standard library,and a lot newer solution's that is exacting like "concurrent.futures" and Python 3.4(asyncio)
And a lot of 3 party library stuff like Gevent
GUI(Wxpython,PyQt(Pyside),PyGTK) can have own solution like "QThreads" PyQt (asynchrnous signals/slots, event loop, etc.).
And a nice solution by 7stud with subprocess,for not long running programs/process but calling dead code and make it do some work.