user13467695
user13467695

Reputation:

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?

Upvotes: 0

Views: 426

Answers (1)

Pat Keenan
Pat Keenan

Reputation: 22

  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.

Upvotes: 1

Related Questions