我在 Linux (Ubuntu) 环境中使用 Python。
如何将注释写入Excel 文件(例如,MyFile.xls)的单元格中?
我知道可以写值。然而,我该如何着手撰写评论?
请您参考如下方法:
在 Windows(安装了 Excel)上,您可以从 Python 使用 COM:this class wraps it nicely for you .
但在 Linux 上,您需要使用 xlwt .
我在 Linux (Ubuntu) 环境中使用 Python。
如何将注释写入Excel 文件(例如,MyFile.xls)的单元格中?
我知道可以写值。然而,我该如何着手撰写评论?
请您参考如下方法:
在 Windows(安装了 Excel)上,您可以从 Python 使用 COM:this class wraps it nicely for you .
但在 Linux 上,您需要使用 xlwt .