繁体   English   中英

如何在 Jupiter notebook 中同时删除几行代码?

[英]How could i delete several lines of code at the same time in Jupiter notebook?

我想在 Jupiter notebook 中同时删除/制表几行代码。 我怎么能这样做? 有热键吗?

  1. 在笔记本中,单击灰色输入框左侧的 In []: (您会看到高亮颜色 go 从绿色变为蓝色)
  2. 当它是蓝色时,按住 shift 并使用向上箭头键 select 上方或下方的行
  3. 按 D 两次
  4. 单击返回单元格,突出显示将变回绿色。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM