Simple Problem

ncf nothingcanfulfill at gmail.com
Mon Jul 25 03:14:13 CEST 2005


I know I've seen this somewhere before, but does anyone know what the
function to escape a string is? (i.e., encoding newline to "\n" and a
chr(254) to "\xfe") (and visa-versa)

Thanks for helping my ignorance :P

-Wes




More information about the Python-list mailing list