Sean Hammond wrote: > Forgive my ignorance, but I sometimes write custom dynamic web-pages > using PHP, by simply embedding PHP in HTML with <?php ?> tags, and > renaming for example index.html to index.php and making it executable. I > only use this for very minor things like calling a script, and don't > really want to learn any more PHP as it looks awful. So I was wondering, > is it possible to throw together dynamic web pages like this using > Python or other languages?
sure, and an endless number of programmers have provided their own favourite way to do this: http://wiki.python.org/moin/Templating http://www.google.com/search?q=python+server+pages http://www.google.com/search?q=python+template+languages and so on. if you want to roll your own, see: http://jtauber.com/2006/05/templates.html http://blog.ianbicking.org/templating-via-dict-wrappers.html </F> -- http://mail.python.org/mailman/listinfo/python-list