Why is it that str.replace doesn't work sometimes?

Tim Roberts timr at probo.com
Fri Jun 26 06:31:42 CEST 2009


humn <xelothath13 at gmail.com> wrote:
>
>Thank you! Didn't know that it would escape characters with single
>quotes. I thought it only did that with double quotes.

That's only true in Perl and PHP, but not in Python or C.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list