r strings?

briansweetapp at my-deja.com briansweetapp at my-deja.com
Sun Nov 19 19:32:31 CET 2000


In article <8v95f5$mg1$1 at nnrp1.deja.com>,
  johnvert at my-deja.com wrote:

> Hey,
>
> Simple question: what does it mean when strings begin with the letter
> 'r'?

It means that any '\' characters in the string are not used to escape
the following character i.e. the '\' character and the character
following it are left in the string. '\' can still be used to allow an
odd number of quotes.

Check out: http://www.python.org/doc/2.0b1/ref/strings.html


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list