"Ognjen Bezanov" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> I need to find a way to 'fork' a function into the background yet still
> be able to send commands to it.

Others gave you the answer to this..

> 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...)

But for this, you might look into PyGame, which, I believe, has functions 
like this.

Terry J. Reedy



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to