Good programming style can make a program easy and enjoyable to read, write, and maintain. This book presents a few simple style guidelines that will improve the look and design of Python programs. Topics include program documentation, the use of naming conventions, and code format and organization. Several examples illustrate appropriate style for all major Python program constructs.
Table of Contents
Introduction Chapter 1: Simple Python Programs Chapter 2: Function Definitions Chapter 3: Class Definitions Chapter 4: Docstrings and Other Program Comments Chapter 5: Code Format References