Showing line numbers in IPython/Jupyter Notebooks

后端 未结 10 1208
遥遥无期
遥遥无期 2020-12-04 05:56

Error reports from most language kernels running in IPython/Jupyter Notebooks indicate the line on which the error occurred; but (at least by default) no line numbers are in

10条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-04 06:24

    Here is how to know active shortcut (depending on your OS and notebook version, it might change)

    Help > Keyboard Shortcuts > toggle line numbers

    On OSX running ipython3 it was ESC L

提交回复
热议问题