Coding Style: Quotes
thorsten at thorstenkampe.de
Fri Sep 13 22:05:45 CEST 2002
* John Waycott
> I'm curious if others have adopted any standards for choice of single vs.
> double quotation marks to delimit strings. A look through the standard
> library reveals the choice of one over the other is rather arbitrary. I
> suspect it really makes no difference, but the question has come up during a
> code review.
Python itself seems to "prefer" single quotes slightly:
1: >>> "String"
More information about the Python-list