Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python single vs double quotes

Quoting the official docs at https://docs.python.org/2.0/ref/strings.html:

In plain English: String literals can be enclosed in matching single quotes (') or double quotes (").

So there is no difference.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #single #double #quotes
ADD COMMENT
Topic
Name
9+6 =