In this article you can find regular expressions how to search and replace multiline comments / docstrings in P圜harm. Select the text, Press CTRL + K, C to comment ( CTRL + E + C ) Move the cursor to the first line after the delimiter // and before the Code text. New course! Up and Running with Git - A Pragmatic, UI-based Introduction.Python allows single line / multiline comments and docstrings.
Select/unselect the next occurrence: Alt + J / Shift + Alt + J (Ctrl + G / Shift + Ctrl +G for Mac OS X) Select all occurrences: Shift. Note that on some systems you also have to use Shift with the shortcuts mentioned. These strings are to be used carefully and should not be confused with. With this feature you can: Set multiple cursors in the editor area: Alt + Mouse Click (Option + Mouse Click for Mac OS X).
use the down arrow to select multiple lines that you want to comment. Go to the line from which you want to start commenting.