Style Guides

What is a style guide?

A style guide offers direction on creating consistency in your code, like how far you indent lines, your maximum line length, or how you break lengthy lines.

What kinds of recommendations are made in style guides?

A style guide isn't a set of rules: if you break the guidelines but follow the syntax rules, your code will still run. When you follow a style guide, your code will be consistent, and it'll be easier for you and others to focus on what it does instead of what it looks like.

Where can you find the Python style guide?

The design of Python ensures that programmers write more readable code with it than with other languages. Make sure to read the Python style guide for suggestions on how to make consistent and clean code.