(older archive entries before 2007 are not shown here, but included in the onsite-search)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[QF-Test] Replace a backslash by two backslashes
I am trying to replace a backslash by two backslashes with this script:
name = rc.lookup("i_path")
name = name.replace('\','\\')
However, this scripts gives an error message:
SyntaxError: Lexical error at line 4, column 27. Encountered: "\\" (92), after : "\\"
Does anyone knows how to replace the backslash by two backslashes?