Show More
@@ -231,11 +231,10 b' Update ipykernel to version 5.0 or greater::' | |||||
231 | conda install ipykernel ipython --upgrade |
|
231 | conda install ipykernel ipython --upgrade | |
232 |
|
232 | |||
233 | This should automatically enable ``autoawait`` integration. Unlike terminal |
|
233 | This should automatically enable ``autoawait`` integration. Unlike terminal | |
234 | IPython, all code runs on ``asynio`` eventloop, so creating a loop by hand will |
|
234 | IPython, all code runs on ``asyncio`` eventloop, so creating a loop by hand will | |
235 | not work, including with magics like ``%run`` or other frameworks that create |
|
235 | not work, including with magics like ``%run`` or other frameworks that create | |
236 |
the eventloop themselves. In case like these |
|
236 | the eventloop themselves. In cases like these you can try to use projects like | |
237 |
`nest_asyncio <https://github.com/erdewit/nest_asyncio>`_ and s |
|
237 | `nest_asyncio <https://github.com/erdewit/nest_asyncio>`_ and follow `this discussion | |
238 | like `this one |
|
|||
239 | <https://github.com/jupyter/notebook/issues/3397#issuecomment-419386811>`_ |
|
238 | <https://github.com/jupyter/notebook/issues/3397#issuecomment-419386811>`_ | |
240 |
|
239 | |||
241 | Difference between terminal IPython and IPykernel |
|
240 | Difference between terminal IPython and IPykernel | |
@@ -311,7 +310,7 b' task is running, if and only if the foreground task is async::' | |||||
311 | In [4]: await asyncio.sleep(3) |
|
310 | In [4]: await asyncio.sleep(3) | |
312 | background 4 |
|
311 | background 4 | |
313 | background 5 |
|
312 | background 5 | |
314 | background 6 |
|
313 | background 6g | |
315 |
|
314 | |||
316 | In a Notebook, QtConsole, or any other frontend using IPykernel, background |
|
315 | In a Notebook, QtConsole, or any other frontend using IPykernel, background | |
317 | tasks should behave as expected. |
|
316 | tasks should behave as expected. |
General Comments 0
You need to be logged in to leave comments.
Login now