[Tutor] pipeline - what is it and how do I use it?

bob gailer bgailer at alum.rpi.edu
Sun Nov 25 19:41:45 CET 2007


elis aeris wrote:
> I need to keep a bit of python code ready to run at anytime, in the 
> ram, but this is what I need to do
>
> I am using two languages at the same time, because python doesn't 
> really have any effective way of simulating keyboard and mouse events,
>
> so I need to run auto it 3, and then call my python code to perform a 
> little bit of work, it only takes 0.1 seconds to run, but it takes 
> almost a second to start the code,
> if i I can keep the code alive in the ram waiting for the cue, then it 
> should run fast enough.
>
> but how do I pass information from one code to the other?
See the signal and socket modules.

Also I sorta recall there are modules that enable Python to simulate 
keyboard and mouse events.


More information about the Tutor mailing list