@@ -53,7 +53,7 @@ Write to an xls file
53
53
>>> from pyexcel.ext.xls import OrderedDict
54
54
55
55
56
- Here's the sample code to write a dictionary to an xl file::
56
+ Here's the sample code to write a dictionary to an xls file::
57
57
58
58
>>> from pyexcel_xls import XLWriter
59
59
>>> data = OrderedDict() # from collections import OrderedDict
@@ -81,7 +81,7 @@ Here's the sample code::
81
81
Write an xls to memory
82
82
**********************
83
83
84
- Here's the sample code to write a dictionary to an xl file::
84
+ Here's the sample code to write a dictionary to an xls file::
85
85
86
86
>>> from pyexcel_xls import XLWriter
87
87
>>> data = OrderedDict()
@@ -102,7 +102,7 @@ Read from an xls from memory
102
102
Continue from previous example::
103
103
104
104
>>> # This is just an illustration
105
- >>> # In reality, you might deal with xl file upload
105
+ >>> # In reality, you might deal with xls file upload
106
106
>>> # where you will read from requests.FILES['YOUR_XL_FILE']
107
107
>>> book = XLBook(None, io.getvalue())
108
108
>>> print(json.dumps(book.sheets()))
@@ -118,7 +118,7 @@ Import it in your file to enable this plugin::
118
118
119
119
Please note only pyexcel version 0.0.4+ support this.
120
120
121
- Reading from an xl file
121
+ Reading from an xls file
122
122
************************
123
123
124
124
Here is the sample code::
@@ -140,7 +140,7 @@ Here is the sample code::
140
140
| row 1 | row 2 | row 3 |
141
141
+-------+-------+-------+
142
142
143
- Writing to an xl file
143
+ Writing to an xls file
144
144
**********************
145
145
146
146
Here is the sample code::
@@ -153,7 +153,7 @@ Reading from a IO instance
153
153
You got to wrap the binary content with stream to get xls working::
154
154
155
155
>>> # This is just an illustration
156
- >>> # In reality, you might deal with xl file upload
156
+ >>> # In reality, you might deal with xls file upload
157
157
>>> # where you will read from requests.FILES['YOUR_XL_FILE']
158
158
>>> xlfile = "another_file.xls"
159
159
>>> with open(xlfile, "rb") as f:
0 commit comments