xlwings Python Excel相互调用的库
xlwings 让Python和Excel相互调用
xlwings,Python的第三方库,可以很容易地从Excel调用Python,反之亦然。它可以在Windows和macOS上使用Excel,也可以在网络上使用Google Sheets和Excel。
XlsxWriter应用实例
从Python自动化/与Excel交互
import xlwings as xw
wb = xw.Book() # this will open a new workbook
wb = xw.Book('FileName.xlsx') # connect to a file that is open or in the current working directory
wb = xw.Book(r'C:\path\to\file.xlsx') # on Windows: use raw strings to escape backslashes
xlwings( Open Source 版 )Github开源协议和stars
BSD-licensed
Github 2.7k stars
xlwings安装命令
pip install xlwings
Python版本要求
新版本:Python3.8+
历史版本
- Python 3.7: 0.30.9
- Python 3.6: 0.25.3
- Python 3.5: 0.19.5
- Python 2.7: 0.16.6
xlwings文档
Documentation:xlwings
免责声明:内容编辑自网络,仅供参考,不保证正确性,不作任何决策依据!!以上数据皆截止于博文的写稿日期。