I'm searching for Python style guidelines

MartinRinehart at gmail.com MartinRinehart at gmail.com
Mon Jan 7 17:06:24 CET 2008

Thank you both.

Stupid me, went to Python.org and found Style Guidelines and thought
that was the last word. Oh well.

PEP 8 reminds me a lot of Sun's Java conventions, in ways I wish it
didn't. The overall structure seems like a random list of topics and
it omits a lot. For Java I went from Sun to other conventions to try
to compile a meta-convention ( http://www.MartinRinehart.com/articles/code-conventions.html

Here's just one of my questions:

foo = [
    'some item, quite long',
    'more items, all demanding there own line as they are not short',

Where would you put the closing ']'?

More information about the Python-list mailing list