Commenting on code blocks, IPython Notebook

1

It's very annoying to have to comment line by line, and I want to join a powerful editor (like Vim) to the IP-Notebook.

But there should be a way to comment on blocks of code in a simple way.

My versions:

  • IP-Notebook: 1.1.0
  • Chrome: 31.0.1650.63
asked by anonymous 15.12.2013 / 15:03

1 answer

2

To comment on blocks of code, simply select the lines of code you want to comment on (you do not need to select them completely, that is, to the end of the line) and press CTRL + /.

The same is used to uncomment a block of code.

    
15.12.2013 / 15:03