Easy to open xls/xlsx file and edit it (merge xlrd and xlutils)
Project description
# xleditor
打开并在原有基础上编辑 xls / xlsx 文档
Useage:
```
# pip install xlrd
# pip install xlutils
import xleditor
book = xleditor.open_workbook('old.xls')
sheet = book.get_sheet_by_index(0)
print sheet.get_value(3, 0)
sheet.write(0, 5, 'hello world')
book.save('new.xls')
```
打开并在原有基础上编辑 xls / xlsx 文档
Useage:
```
# pip install xlrd
# pip install xlutils
import xleditor
book = xleditor.open_workbook('old.xls')
sheet = book.get_sheet_by_index(0)
print sheet.get_value(3, 0)
sheet.write(0, 5, 'hello world')
book.save('new.xls')
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xleditor-1.0.1.tar.gz
(3.2 kB
view hashes)