In Jupyter Lab, execute editor code in Python console

后端 未结 5 793
深忆病人
深忆病人 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:31

    This can also be done for a single line by hitting shift + enter with the cursor on that line (as opposed to selecting the entire line, then hitting shift + enter).

提交回复
热议问题