shortcuts in python for indentation pycharm code example Example: pep8 pycharm shortcut Ctrl+A then Ctrl+Alt+L or Ctrl+Alt+Shift+L