ThePythonGameBook

learn Python. Create Games

User Tools

Site Tools


en:glossary:s:style_guide

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.

/var/www/horst/thepythongamebook.com/data/pages/en/glossary/s/style_guide.txt · Last modified: 2020/05/13 06:34 by Horst JENS