+-

我在 Linux(Ubuntu)环境中使用 Python.
如何阅读电子表格MyFile.xls中存储在单元格A5中的注释(如果重要,则以Excel 2003格式提供此文件)?
最佳答案
我打算说
xlrd不处理评论太糟糕了,但后来我偶然发现了这个 What’s the best way to extract Excel cell comments using Perl or Ruby?.
关键段落:
The Python xlrd library will parse
cell comments (if you turn on
xlrd.sheet.OBJ_MSO_DEBUG, you’ll see
them), but it doesn’t expose them from
the API. You could either parse the
dump or hack on it a bit so you can
get to them programmatically.
点击查看更多相关文章
转载注明原文:在Linux上使用Python读取Excel单元格注释? - 乐贴网