简体   繁体   中英

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

I want to delete/tab several lines of code at the same time in Jupiter notebook. how could i do that? Is there hot keys for that?

  1. While in the notebook, click to the left of the grey input box where it says In []: (You'll see the highlight color go from green to blue)
  2. While it's blue, hold down shift and use your up arrow key to select the rows above or below
  3. Press D twice
  4. Click back into the cell and the highlight will turn back to green.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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