[Tutor] FW: wierd replace problem

Joel Goldstick joel.goldstick at gmail.com
Tue Sep 14 18:51:32 CEST 2010


On Tue, Sep 14, 2010 at 12:35 PM, Roelof Wobben <rwobben at hotmail.com> wrote:

>
>
>
>
> But how can I use the triple quotes when reading a textf-file ?
> Roelof
>

The triple quotes let you put quotes inside them... for instance if you want
to check for single and double quotes, and ) you can do this:
 """'")"""

its hard to make out.. so with double spacing (you can't do this.. just to
illustrate:):      """ ' " ) """

>
>
>

-- 
Joel Goldstick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100914/eadcf0e7/attachment.html>


More information about the Tutor mailing list