r"string" vs R"string

Terry Reedy tjreedy at udel.edu
Sun Jan 17 08:16:55 CET 2010

On 1/17/2010 1:55 AM, Brendan Miller wrote:
> Is there any difference whatsoever between a raw string beginning with
> the captical R or one with the lower case r e.g. r"string" vs
> R"string"?

No. Nor is there and difference between the strings created with raw 
literals and cooked literals.

More information about the Python-list mailing list