The Python Game Book

code games. learn Python.

User Tools

Site Tools




Style Guide for Python

Python has an official style guide about how to style your code. This style guide is often called Pep8 and written by Python creator Guido van Rossum himself.

Style checkers help you with automatically styling your code or by giving style hints. Advanced Python IDE's like pycharm have built-in style checkers or integrate external style chechers.

some external style checkers

online style checkers

( incomplete list )

In the end, the Pep8 style guide is a recommendation, and it's up to you how to style your code, when to follow guidelines and when to ignore them.

en/glossary/s/style_guide.txt · Last modified: 2020/05/13 06:34 by horst