running functions

Grant Edwards grante at
Wed Nov 16 22:45:12 CET 2005

On 2005-11-16, 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?

Exactly.  Take a look at the "treading" module:

Grant Edwards                   grante             Yow!  BRILL CREAM is
                                  at               CREAM O' WHEAT in another

More information about the Python-list mailing list