more on unescaping escapes

Rhodri James rhodri at wildebst.demon.co.uk
Mon Feb 23 19:56:36 EST 2009


On Tue, 24 Feb 2009 00:46:34 -0000, bvdp <bob at mellowood.ca> wrote:

> Just because I never really thought too much about it :) I'm doing my  
> work on a linux box and my user is on windows ... and he's used to using  
> '\' ... but, you are absolutely right! Just use '/' on both systems and  
> be done with it. Of course I still need to use \x20 for spaces, but that  
> is easy.

Erm, no.  "\x20" is exactly the same as " " in a string literal.

-- 
Rhodri James *-* Wildebeeste Herder to the Masses



More information about the Python-list mailing list