In article <[EMAIL PROTECTED]>,
Lawrence D'Oliveiro  <[EMAIL PROTECTED]> wrote:
>In message
><[EMAIL PROTECTED]>, Kay
>Schluehr wrote:
>>
>> If someone had solved the hard problem of finding a less
>> cumbersome way of writing sys.stdout.write(...) ...
>
>I don't see what the big deal is. I regularly write things like
>
>   sys.stdout.write \
>      (
>            "<INPUT TYPE=\"RADIO\" NAME=\"%(name)s\""
>            " ID=\"%(name)s[%(value)s]\" VALUE=\"%(value)s\"%(checked)s>"
>            "<LABEL FOR=\"%(name)s[%(value)s]\">%(title)s</LABEL>\n"
>              # using LABEL lets user click on text to select button
>        %
>          {
>            "name" : EscapeHTML(Name),
>            "value" : EscapeHTML(Value),
>            "title" : Title,
>            "checked" : ("", " CHECKED")[Checked],
>          }
>      )

Why are you using a backslash?
-- 
Aahz ([EMAIL PROTECTED])           <*>         http://www.pythoncraft.com/

import antigravity
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to