Programming Style (in Python)

Basics

Whitespace

Naming

Long lines

Flow

Docstrings and Comments

General approaches

Style also includes the general approaches for addressing regularly encountered problems. E.g.: