[Tutor] FW: wierd replace problem

Roelof Wobben rwobben at hotmail.com
Tue Sep 14 19:41:36 CEST 2010



----------------------------------------
> From: rwobben at hotmail.com
> To: sander.sweers at gmail.com
> Subject: RE: [Tutor] FW: wierd replace problem
> Date: Tue, 14 Sep 2010 17:40:28 +0000
>
>
>
>
> ----------------------------------------
>> From: sander.sweers at gmail.com
>> To: tutor at python.org
>> Date: Tue, 14 Sep 2010 19:28:28 +0200
>> Subject: Re: [Tutor] FW: wierd replace problem
>>
>>
>> ----- Original message -----
>>> Look at the backslash! It doesn't strip the backslash in the string, but
>>> it escapes the double quote following it.
>>>
>>> I don't know how people can explain it any better.
>>
>> Maybe the link below makes it clear what backslash really does.
>>
>> http://pythonconquerstheuniverse.wordpress.com/2008/06/04/gotcha-%e2%80%94-backslashes-are-escape-characters/
>>
>> Greets
>> sander
>> _______________________________________________
>> Tutor maillist - Tutor at python.org
>> To unsubscribe or change subscription options:
>> http://mail.python.org/mailman/listinfo/tutor
>

Oke,

I get it.
When I want to delete a " I have to use a backslash.

For me case closed. Everyone thanks for the patience and explanations.

Roelof 		 	   		  


More information about the Tutor mailing list