How to run functions in the background?

Ognjen Bezanov ognjen at mailshack.com
Mon May 30 12:09:02 EDT 2005


Hello


I need to find a way to 'fork' a function into the background yet still
be able to send commands to it.

I am writing a media player, and I have a function which plays the
media. I want to be able to run this function but to (at the same time)
be able to send commands from it (e.g. pause, play etc...)

How could I do this?

any help appreciated.




More information about the Python-list mailing list