diff options
| author | Hugo <hugovk@users.noreply.github.com> | 2019-10-19 15:33:33 +0300 |
|---|---|---|
| committer | Hugo <hugovk@users.noreply.github.com> | 2019-10-19 15:33:33 +0300 |
| commit | 0329eb616829dba2d9e4baa4801cb667d5ae2365 (patch) | |
| tree | c056ec3ecba68a27d8964a405d0a4c7b9a77aef3 /docs/tutorial.rst | |
| parent | 4c3dc847b0f2e502e6f6237560fe69e57ab95d67 (diff) | |
| download | tablib-0329eb616829dba2d9e4baa4801cb667d5ae2365.tar.gz | |
Update docs
Diffstat (limited to 'docs/tutorial.rst')
| -rw-r--r-- | docs/tutorial.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 4189269..a9e46b4 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -200,7 +200,7 @@ Delete a range of rows:: Advanced Usage ============== -This part of the documentation services to give you an idea that are otherwise hard to extract from the :ref:`API Documentation <api>` +This part of the documentation services to give you an idea that are otherwise hard to extract from the :ref:`API Documentation <api>`. And now for something completely different. @@ -300,11 +300,11 @@ It's that simple. The original :class:`Dataset` is untouched. Open an Excel Workbook and read first sheet ------------------------------------------- -To open an Excel 2007 and later workbook with a single sheet (or a workbook with multiple sheets but you just want the first sheet), use the following: +Open an Excel 2007 and later workbook with a single sheet (or a workbook with multiple sheets but you just want the first sheet). :: -data = tablib.Dataset() -data.xlsx = open('my_excel_file.xlsx', 'rb').read() -print(data) + data = tablib.Dataset() + data.xlsx = open('my_excel_file.xlsx', 'rb').read() + print(data) Excel Workbook With Multiple Sheets ------------------------------------ |
