running functions

Ben Finney bignose+hates-spam at
Wed Nov 16 22:57:24 CET 2005

Gorlon the Impossible <meatpodeye at> wrote:
> I'm not sure how to phrase this question. I have a Python function
> that sends MIDI messages to a synth. When I run it, I of course have
> to wait until it is finished before I can do anything else with
> Python. Is it possible to run this function and still be able to do
> other things with Python while it is running? Is that what threading
> is about? 

Threads are a complex answer. Subprocesses are a less complex answer.

(good sigmonster, have a biscuit)

 \         "I have yet to see any problem, however complicated, which, |
  `\      when you looked at it in the right way, did not become still |
_o__)                             more complicated."  -- Paul Anderson |
Ben Finney

More information about the Python-list mailing list