fork(1) download
  1.  
  2. s = ur'\\word\\with'
  3. print (s)
  4. print (s.replace(r'\\', '\\'))
Success #stdin #stdout 0.01s 8968KB
stdin
Standard input is empty
stdout
\\word\\with
\word\with