Support for HTML (export only). Unit-tested. Depends on the "markup.py"

package(http://markup.sourceforge.net) which is included in packages/
Notice that the tests now depend on the presence of markup.py.
This commit is contained in:
Luca Beltrame
2010-11-21 13:00:56 +01:00
parent 91bd4eb9c7
commit 25da44f569
5 changed files with 555 additions and 1 deletions
+8
View File
@@ -425,6 +425,14 @@ class Dataset(object):
Import assumes (for now) that headers exist.
"""
@property
def html():
"""A HTML table representation of the :class:`Dataset` object. If
headers have been set, they will be used as table headers.
..notice:: This method can be used for export only.
"""
pass
def append(self, row=None, col=None, header=None, tags=list()):
"""Adds a row or column to the :class:`Dataset`.