python - 在 Linux 上使用 Python 编写 Excel 单元格注释?

标签 python

我在 Linux (Ubuntu) 环境中使用 Python

如何将注释写入Excel 文件(例如,MyFile.xls)的单元格中?

我知道可以写。然而,我该如何着手撰写评论?

最佳答案

在 Windows(安装了 Excel)上,您可以从 Python 使用 COM:this class wraps it nicely for you .

但在 Linux 上,您需要使用 xlwt .

关于python - 在 Linux 上使用 Python 编写 Excel 单元格注释?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9804383/

相关文章:

python - 在对我的 Windows 电脑进行基准测试后,重新安装所有 Python 库的有效方法是什么?

python - 如何使用 python 读取和打印整个 .txt 文件?

python - Watson Developer Cloud 和 Twisted 安装出现错误代码 1

python - 如何在 Jinja2(Flask)中注册自定义测试?

python - 如果字典可以通过 `==` 进行比较,为什么需要 assertDictEqual ?

python - 无法在嵌套函数内的python中按值传递

python - 如何根据 Python 中的本地日历计算一天中的实际小时数?

python - 究竟什么会导致函数的 __code__.co_freevars 非空?

python - 检查目标 : expected time_distributed_3 to have shape (1375, 1) 时出错,但得到形状为 (5511, 101) 的数组

python - Django 装置 : Cannot assign data to textfield using json file