diff options
| author | Mark Rogers <f4nt@f4ntasmic.com> | 2011-05-12 15:59:57 -0500 |
|---|---|---|
| committer | Mark Rogers <f4nt@f4ntasmic.com> | 2011-05-12 15:59:57 -0500 |
| commit | 5350355fbe0aefe053d40fda03c0688a7b7eae3d (patch) | |
| tree | 00d1f403dabdb54174890fbc0ba2b47f4fa9d8ac /tablib/core.py | |
| parent | 87ce64d4c859efb7c3d37b1e715fa04a0c1cc631 (diff) | |
| download | tablib-5350355fbe0aefe053d40fda03c0688a7b7eae3d.tar.gz | |
a bunch of cleanup from my previous commit
Diffstat (limited to 'tablib/core.py')
| -rw-r--r-- | tablib/core.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tablib/core.py b/tablib/core.py index 71f4f71..348b88f 100644 --- a/tablib/core.py +++ b/tablib/core.py @@ -392,6 +392,15 @@ class Dataset(object): @property def xlsx(): + """An Excel Spreadsheet representation of the :class:`Dataset` object, with :ref:`separators`. Cannot be set. + + .. admonition:: Binary Warning + + :class:`Dataset.xlsx` contains binary data, so make sure to write in binary mode:: + + with open('output.xlsx', 'wb') as f: + f.write(data.xlsx)' + """ pass |
