On Tue, 14 Sep 2010 03:28:46 am Alan Gauld wrote:
> "Roelof Wobben" <rwob...@hotmail.com> wrote
>
> > Now I want to get rid of the \\ so I do this : test2 = test.replace
> > ('\\', '')
> > And I get at the python prompt this answer : 'het is een wonder
> > TIS' So that's right.
>
> OK,. Thats replacing a double slash in the data

Er, surely not... I think you've confused backslashes and forward 
slashes. Or something. '\\' is a single backslash, not a double, 
because the first backslash is the escape character.

A double backslash can be written '\\\\'.



-- 
Steven D'Aprano
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to