HTMLgen docs, tutorial

Gerrit Muller gerrit.muller at embeddedsystems.nl
Thu Oct 2 03:08:53 EDT 2003


user at domain.invalid wrote:

> 
>>
>> Its quite easy: 
> 
> 
> Thanks,
> 
> That helps quite a bit.
> 
> Then there are the document classes.  Does one normally
> just append element classes to a document and then ask
> the document to print itself?
> 
> Thanks,
> 
> Tobiah
> 
I have stripped one of my scripts to a more or less minimal example below:

     doc = SimpleDocument(title"pageTitle")
     doc.meta = Meta(name="keywords",content="Keywords")
     row = TR()
     row.append(TD("text")),valign="TOP",bgcolor="#FFFFFF"),"\n")
     doc.append(TableLite(row))
     doc.write("name.html"))

kind regards Gerrit
-- 
Gaudi systems architecting:
http://www.extra.research.philips.com/natlab/sysarch/





More information about the Python-list mailing list