How can I write an excel file(xls/xlsx) using xlrd
module alone? I tried from xlrd import xlsx
, but couldn't find anything that will really help me.
xlrd only reads excel files. To write them, look up xlwt, xlutils, xlsxwriter, or openpyxl - all of these packages can write binary files excel can read. Excel can also read csv files, which the csv
package (included with Python) can write (and read).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.