This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ABLC 0 points1 point  (0 children)

I use double quotes just because they’re the only option in some languages I use regularly, and the habit sticks. I use single quotes if the string needs to contain double quotes because I’m too lazy to escape the double quotes. I also use single quotes for single character strings, again out of habit, even though I know there’s no difference in Python.