Skip to main content

Using async/await in the python REPL


Starting from python3.8, we can use the command python -m asyncio to start a Python REPL that natively supports awaiting asyncio coroutines. This eliminates the need to explicitly run them using asyncio.run().