Gabriel Sean Farrell on 17 Jan 2008 16:36:33 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] python html generation


On Sat, Jan 12, 2008 at 02:50:52PM +0000, Jeff Abrahamson wrote:
> I need to write some python scripts that generate rather simple html
> pages.  Since this comes up from time to time, I'd rather use a
> package that already does this instead of write my own.
> 
> Googling about, HTMLgen seems good and gets good reviews.  Probably
> I'll use it.  I'm curious if anyone has strong opinions on any other
> packages being particularly good for this.

When I really want to generate HTML in my code I usually opt for
elementtree, but most of the time I use a templating system like Mako or
Cheetah.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug