是否可以使用 Xlsxwriter 从 Python 中的 Excel 工作表中读取数据?如果是这样怎么办? [英] Is it possible to read data from an Excel sheet in Python using Xlsxwriter? If so how?

查看:34
本文介绍了是否可以使用 Xlsxwriter 从 Python 中的 Excel 工作表中读取数据?如果是这样怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做以下计算.

worksheet.write_formula('E5', '=({} - A2)'.format(number))

我想在控制台上打印 E5 中的值.你能帮我做吗?是否可以使用 Xlsxwriter 来完成,或者我应该使用不同的库?

I want to print the value in E5 on the console. Can you help me to do it? Is it possible to do it with Xlsxwriter or should I use a different library to the same?

推荐答案

无法使用 XlsxWriter 从 Excel 文件中读取数据.

It is not possible to read data from an Excel file using XlsxWriter.

文档中列出了一些替代方案.

这篇关于是否可以使用 Xlsxwriter 从 Python 中的 Excel 工作表中读取数据?如果是这样怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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