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

Tim Roberts timr at probo.com
Fri Jun 26 00:31:42 EDT 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