jupyter notebook 快捷键汇总

本文总结了Jupyter Notebook的两种模式——命令模式和编辑模式。在命令模式中,键盘用于执行Notebook级别的操作,单元格边框呈灰色并带有左蓝边;而在编辑模式下,你可以编辑cell内的代码或文本,此时单元边框为绿色。
摘要由CSDN通过智能技术生成

Jupyter Notebook 有两种不同的输入模式。编辑模式下,你可以编辑代码 / text 到一个 cell 中,并有绿色的单元边框指示。命令模式下,键盘到Notebook级别的行为,并由一个带有左蓝边的灰色单元格边框指示。

命令模式
F : find and replace
Ctrl-Shift-P : open the command palette
Enter : enter edit mode
Shift-Enter : run cell, select below
Ctrl-Enter : run selected cells
Alt-Enter : run cell, insert below
Y : to code
M : to markdown
R : to raw
1 : to heading 1
2 : to heading 2
3 : to heading 3
4 : to heading 4
5 : to heading 5
6 : to heading 6
K : select cell above
Up : select cell above
Down : select cell below
J : select cell below
Shift-K : extend selected cells above
Shift-Up : extend selected cells above
Shift-Down : extend selected cells below
Shift-J : extend selected cells below
A : insert cell above
B : inse
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值