Re: Writing HTML

2008-06-02 Thread miller . paul . w
On Jun 2, 3:19 pm, Stefan Behnel <[EMAIL PROTECTED]> wrote: > Or lxml, for that purpose, which also is a lot nicer for generating XML and > HTML in the first place. > > http://codespeak.net/lxml/ Awesome. lxml looks like exactly what I'm after... and it's in the Ubuntu repos. :-) Thanks! -- htt

Re: Writing HTML

2008-06-02 Thread Stefan Behnel
Ken Starks wrote: > [EMAIL PROTECTED] wrote: >> I've searched the standard library docs, and, while there are a couple >> options for *reading* HTML from Python, I didn't notice any for >> *writing* it. Does anyone have any recommendations (particularly ones >> not listed on PyPI)? >> >> Thanks >

Re: Writing HTML

2008-06-02 Thread miller . paul . w
On Jun 2, 6:11 am, Ken Starks <[EMAIL PROTECTED]> wrote: > My approach is usually to write the data-load in XML rather than > directly in HTML, and then use XSLT to produce the (X)HTML. That's a good idea I hadn't considered. Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: Writing HTML

2008-06-02 Thread Ken Starks
[EMAIL PROTECTED] wrote: I've searched the standard library docs, and, while there are a couple options for *reading* HTML from Python, I didn't notice any for *writing* it. Does anyone have any recommendations (particularly ones not listed on PyPI)? Thanks My approach is usually to write the

Re: Writing HTML

2008-06-02 Thread Marc 'BlackJack' Rintsch
On Mon, 02 Jun 2008 01:03:05 -0700, miller.paul.w wrote: > I've searched the standard library docs, and, while there are a couple > options for *reading* HTML from Python, I didn't notice any for > *writing* it. I guess that's where the many templating engines are used. Ciao, Marc 'Black