Python Formatting Guidelines

Why have guidelines?

A style guide provides provides a map so that the code generated by a group of programmers will be consistent and, therefore, easier to read and maintain. †

It is also an essential part of joining a community, and as with most communities the rules vary. In the case of programming they vary across languages, and even across major projects or companies using a language, e.g.

C++: GeoSoft's, Google's, Java, PHP, C#, Perl, Ruby, and of course, Python.

CPSC 128 Python Guidelines

These are extracted from the Python guidelines above, so you will not have to wade through too many language features you won't recognize.