Most of the libraries you will use are not asynchronous. They block. If you call one from a coroutine, the whole loop stops. This lesson shows how to run blocking code safely, from a thread or a process, how to find the blocking calls that slip in, and a short list of the mistakes that make asyncio programs misbehave.
More lessons in Complete Python Programming