How do I run Python asyncio code in a Jupyter notebook?
How do I run Python asyncio code in a Jupyter notebook? Question: I have some asyncio code which runs fine in the Python interpreter (CPython 3.6.2). I would now like to run this inside a Jupyter notebook with an IPython kernel. I can run it with import asyncio asyncio.get_event_loop().run_forever() and while that seems to work …