In Jupyter Lab, execute editor code in Python console

后端 未结 5 802
深忆病人
深忆病人 2021-01-02 01:49

In JupyterLab, I want to send code from the editor to the Python console for execution, preferably with a keyboard shortcut. The documentation doesn\'t seem to offer a way t

5条回答
  •  感动是毒
    2021-01-02 02:26

    This feature has been released now. All you need to do is

    1. Right click the script and create a console editor
    2. Copy the whole code and press shift + Enter

提交回复
热议问题