[Tutor] using python to write web page
Alan Gauld
alan.gauld at btinternet.com
Thu Jun 16 12:26:36 CEST 2011
"Walter Prins" <wprins at gmail.com> wrote
> Have a look at the Pyjamas project: http://pyjs.org/ It sounds like
> what
> you want.
I hadn't considered using pyjamas outside a web server environment
but I guess you could since it just creates an html/javascript file.
It
depends on what the OP wants to put in his "web page" but Pyjamas
would certainly allow him to create an html page from pure Python
which is what he says he wants.
But for static data, raw html is IMHO easier to use. Pyjamas is more
useful for building web applications than for generating single pages.
But if he prefers to use python for everything pyjamas may well
work for him.
good call,
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list