Comment/Uncomment multiple lines in JupyterNotebook hotkey

Viewed 5002

I was wondering, if there is a PRO way of commenting/removing multiline # comments in JupyterNotebooks.

# line1
# line2
# line3

Something like SHIFT + " for adding triple quotes.

1 Answers

CTRL+/ for comment and uncomment multiple lines you can press 'h' anywhere in command mode, you can find all the shortcuts of jupyter.

Related