See the Intermezzo here: https://docs.python.org/3/tutorial/controlflow.html#intermezzo-coding-style Which does a good job of summarizing PEP8 and benefits from existing in the official Python tutorial.