Difference between " and '

Robert Kern rkern at ucsd.edu
Thu Jul 21 22:38:06 EDT 2005


Steven D'Aprano wrote:
> Michael Hoffman wrote:
> 
>>John Machin wrote:
>>
>>>b83503104 at yahoo.com wrote:
>>>
>>>>Can someone tell me the difference between single quote and double
>>>>quote?
>>>
>>> >>> ord("'") - ord('"')
>>>5
>>
>>Very zen.
> 
> But unfortunately incorrect, since the original poster 
> didn't ask for the difference between the ordinal 
> values of the single quote and double quote characters, 
> but for the difference between the characters themselves.

It was a joke, I believe, not a serious answer.

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter




More information about the Python-list mailing list