> For the complete documentation index, see [llms.txt](https://easonwang.gitbook.io/python/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://easonwang.gitbook.io/python/he-xin-mo-zu/async-await.md).

# Async await

```python
import asyncio

async def main():
    print('Hello ...')
    await asyncio.sleep(5)
    print('... World!')

asyncio.run(main())
```
