PyCharm
 
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

Code Style. Python

Last modified: 20 July 2022

File | Settings | Editor | Code Style | Python for Windows and Linux

PyCharm | Preferences | Editor | Code Style | Python for macOS

Ctrl+Alt+S the Settings/Preferences icon

Use this page to configure formatting options for Python files. When you change these settings, the Preview pane shows how this will affect your code.