Tip
PyCharm automatically completes a method declaration with the mandatory parameter self. Start typing a method declaration in a Python class, and PyCharm will insert self after the opening bracket of the parameters list:

-
Start typing a statement and press Ctrl+Shift+EnterCtrl+Shift+EnterCtrl+Shift+EnterCtrl+Shift+EnterCtrl+Shift+EnterCtrl+Shift+EnterCtrl+Shift+EnterCtrl+Shift+EnterMeta Shift EnterMeta Shift EnterMeta Shift Enter.

The punctuation required in the current context is added and the caret moves to the next editing position.


