Python:写入Excel 2007+文件(.xlsx文件) [英] Python: Writing to Excel 2007+ files (.xlsx files)

查看:290
本文介绍了Python:写入Excel 2007+文件(.xlsx文件)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有编写Excel 2007+文件的Python模块?

我有兴趣编写长于65535行的文件,只有Excel 2007+支持。

Is there a Python module that writes Excel 2007+ files?
I'm interested in writing a file longer than 65535 lines and only Excel 2007+ supports it.

推荐答案

有两个库可以看一下。

Python-xlsx
PyXLSX

编辑:正如评论中提到的,写作你会查看 openpyxl

As the comments mention, for writing you check out openpyxl

这篇关于Python:写入Excel 2007+文件(.xlsx文件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆