Simple Problem

Cyril Bazin cyril.bazin at gmail.com
Sun Jul 24 21:23:04 EDT 2005


By any chance are you speaking about the function "repr" ?

Cyril

On 24 Jul 2005 18:14:13 -0700, ncf <nothingcanfulfill at gmail.com> wrote:
> 
> 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
> 
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20050725/772de77c/attachment.html>


More information about the Python-list mailing list