How to escape escape?

Petru Paler ppetru at
Thu Apr 13 02:17:52 CEST 2000

On Wed, Apr 12, 2000 at 04:59:01PM -0700, Larry Gantz wrote:
> I'm new to the snake.
> I think I would like to be able to turn off and on the escape character
> processing so the snake would perform escape processing when I want it.
> It seems that Python always has escape processing.

   Instead of 

mystring = 'asd'
mystring = r'asd'

   In the "r" form only the closing quote is a metacharacter (you can't even
escape it).


More information about the Python-list mailing list