the meaning of r’.......‘

Steven D'Aprano steve+comp.lang.python at
Mon Jul 23 10:07:15 CEST 2012

On Mon, 23 Jul 2012 17:59:42 +1000, Chris Angelico wrote:

> On Fri, Jul 20, 2012 at 5:56 PM, levi nie <levinie001 at> wrote:
>> the meaning of r’.......‘?
> It's a raw string.

Technically, no, it's a SyntaxError, because the Original Poster has used 
some sort of "Smart Quotes" characters r’‘ instead of good old fashioned 
typewriter-style quotes r'' or r"".

If you're going to ask programming questions using an email client that 
changes what you type, including smart quotes, special hyphens or other 
characters, you're going to have a bad time.


More information about the Python-list mailing list