Coding Style: Quotes
bobx at linuxmail.org
Thu Sep 12 21:14:21 EDT 2002
Michael Stenner wrote:
> Since there is no "physical" difference between them, I can't imagine
> why it would matter. The only reason there "needs" to be two is for
> nested quoting. Sure, it would be annoying to alternate for each
> string, but beyond that...
Don't you have to escape a single quote within a single quote whereas
you do not while using a double quote?
i.e. 'It\'s raining' "It's raining"
More information about the Python-list