Aug-31-2017, 05:09 PM
(Aug-31-2017, 04:55 PM)snippsat Wrote: PEP8.org (Better CSS styled pep-8 website).Except for the comments. That font is barely legible.
In python, it doesn't matter. In some languages, it does. Php, for example, everything should be single quotes, as double quotes allow for string interpolation (the same as a python f-string), and thus take slightly longer to parse.
I prefer double-quoted. I'm not sure I can explain why, as I frequently need to use single-quoted anyway to include xml attributes.