What is prefered: 'string' or "string"? (Should be in PEP8 ?)

Steve Holden sholden at holdenweb.com
Wed Apr 24 08:32:25 EDT 2002


"Petr Prikryl" <Answer.via.news.please.prikrylp at nospam_skil.cz> wrote in
message news:aa5f7l$uck$1 at news.nextra.cz...
> Well, I have meant what quotes should I use in cases
> when only single or only double are to be used (i.e.
> when I do not want to include the opposite inside
> the string.  Read it what *style* is prefered.
>
There are no quote police in the Python world, only the PSU, and you are
unlikely to get trouble from them as long as you






More information about the Python-list mailing list