"Jeff Epler" <jepler at unpythonic.net> wrote in message >Python 2.3 has a 'string-escape' codec. If you have a string like '\\t' >(a literal backslash followed by a t) and want to turn it into the >string '\t' (a tab character), you can use it for that purpose: > >>> r"a\tb".decode("string-escape") > 'a\tb' >Jeff Thanx! exactly what i needed Ivo.