Python Coroutine Operating System