xlwings – 让Python带着你的Excel一起飞

xlwings 是一款基于BSD协议的开源Python包,它让Excel调用Python或者Python调用Excel变得非常简单: Scripting: 像VBA那样实现Python与Excel的自动或者交互功能 Macros: 用清晰强大Python代码来替代来VBA写的凌乱的宏 UDFs: 用Python编写用户定义函数 (UDFs) (仅支持Windows). 完全支持Numpy arrays 和 Pandas Series/DataFrames 支持Windows和mac OSX。 Python 2.7 and 3.3+测试通过 安装,3选1: pip install xlwings conda install xlwings #如果使用Mac Excel…

Read More