Trying to set a cookie within a python script

Dotan Cohen dotancohen at
Tue Aug 3 20:53:00 CEST 2010

On Tue, Aug 3, 2010 at 18:41, Dave Angel <davea at> wrote:
> I don't understand your wording. Certainly the server launches the python
> script, and captures stdout. It then sends that stream of bytes out over
> tcp/ip to the waiting browser. You ask when does it become html ? I don't
> think the question has meaning.

ׁHTML is just plain text. So the answer to the question is that
ideally, the plain text that is sent to stdout would already be HTML.

print ( "<title>My Greek Page</title>\n" )

Dotan Cohen

More information about the Python-list mailing list