Triple quote problem in Pythonwin

Mark Hammond mhammond at skippinet.com.au
Tue May 30 07:31:25 CEST 2000


You must have a very old Pythonwin.  This has been fixed for quite some
time.

Mark.

"dej" <00000475ATno-idDOTCOM> wrote in message
news:6956js4qo9jamd6i86iccch7blsct7qs6n at 4ax.com...
>
> I have searched for an answer to my problem to no avail. It is so
> basic that there must be an easy answer so forgive me if I'm asking a
> silly question...
>
> I am following Alan Gauld's tutorial but have come across a problem
> with triple quotes in Pythonwin build 125. For example, the following
> results in a "SyntaxError: invalid token" in Pythonwin:
>
> s="""
>
> or if I type in:
>
> """Here is a very long string that can
> if we wish span several...
>
> I get the "SyntaxError: invalid token" as well.
>
> Can someone explain what is wrong here? I am running Win98 Japanese
> version but I don't think the problem is related to the OS. I do not
> have any problems with triple quotes in IDLE...
>
> Thank you in advance,
> David





More information about the Python-list mailing list