I am using Python in a Linux (Ubuntu) environment.
How do I go about reading the comment that is stored in cell A5 in spreadsheet MyFile.xls (in case it matters, this file in in Excel 2003 format)?
I was going to say that it's too bad that xlrd doesn't handle comments, but then I stumbled upon this What's the best way to extract Excel cell comments using Perl or Ruby?.
Key passage:
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.
xlrd, yet am not sure how to implement the changes you suggested.uno. I think it's crap--it's both unwieldy and unintuitive. I included it in my answer merely for completeness. I think the xlrd hack is your best option. I'd be happy if someone else came up with a better answer.cell_note_map was added in version 0.7.2 which was released 2012-01-14.
xlrdworks?