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.