Header

  1. View current page

    psyOblade's Note

Profile_img_60x60_01
0

Style Guide for Python Code

http://www.python.org/dev/peps/pep-0008/

The Zen of Python (http://www.python.org/dev/peps/pep-0020/ )

 

code is read much more often than it is written.

improve the readability of code

Code lay-out

Use 4 spaces per indentation level.

spaces only > tab only > mixed space and tab


Limit all lines to a maximum of 79 characters.

History

Last edited on 03/07/2008 12:19 by psyOblade

Comments (0)

You must log in to leave a comment. Please sign in.