Python and encodings drives me crazy

Oliver Andrich oliver.andrich at gmail.com
Mon Jun 20 16:54:04 EDT 2005


> I know this isn't your question, but why write:
> 
>  >     data = apply(string.replace, [data, html, char])
> 
> when you could write
> 
>      data = data.replace(html, char)
> 
> ??

Cause I guess, that I am already blind. Thanks.

Oliver

-- 
Oliver Andrich <oliver.andrich at gmail.com> --- http://fitheach.de/



More information about the Python-list mailing list