On Oct 24, 3:06 pm, Tim Chase <[EMAIL PROTECTED]> wrote:
> >>>> ["%s="%s" % (k,v) for k,v in d.items()]
> >   File "<stdin>", line 1
> >     ["%s="%s" % (k,v) for k,v in d.items()]
> >                                           ^
> > SyntaxError: EOL while scanning single-quoted string
>
> You have three quotation marks...  you want
>
>    "%s=%s"
>
> not
>
>    "%s="%s"
>
> -tkc

Thanx
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to