[ANN] markup.py 1.3 - an HTML and XML writer

Daniel Nogradi nogradi at gmail.com
Mon May 1 05:19:42 EDT 2006


> The new 1.3 release of markup.py is available from
>
> http://markup.sourceforge.net/
>
> The markup module attempts to make it easier to output HTML or XML
> from a python program without cluttering your code with tags in a
> simple and flexible way.
>
> Changes
>
>   * improved documentation
>   * function added to optionally escape < and > as &tl; and &gt;
>   * several functions added for frequently used HTML tag combinations
> to speed up things

Ooops, I forgot the most important change resulting from a thread on
this list. Now if you want to use python keywords as keyword
arguments, such as class (happens often in HTML) or print then this
should be done as class_ or print_. This convention conforms to PEP-8.



More information about the Python-list mailing list