Trying to set a cookie within a python script

Dotan Cohen dotancohen at gmail.com
Tue Aug 3 14:53:00 EDT 2010


On Tue, Aug 3, 2010 at 18:41, Dave Angel <davea at ieee.org> 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

http://gibberish.co.il
http://what-is-what.com



More information about the Python-list mailing list