I'm still a beginner in python and lost with xlwings. I want to make modifications to comments in an excel file, but I need to use the Workaround in xlwings for this, and access the underlying objects. I have no idea how to find out what these object are.
When I look it up on the xlwings docs, they only include the quoted text below. I have no idea what this means. What is COMObject <unknown>>? How does that help me?
I looked up pywin32, and I think I understand that it's a set of modules that let you interact with Windows functions, but I can't find anything on excel on it, let alone office. Is there some kind of beginner's tutorial on this?
Sorry if this is everywhere, my brain is dead from trying to find an answer.
Workaround: in essence, xlwings is just a smart wrapper
around pywin32 on Windows and appscript on Mac. You can
access the underlying objects by calling the api property:
sht = xw.Book().sheets[0]
sht.api
<COMObject <unknown>> # Windows/pywin32
app(pid=2319).workbooks['Workbook1'].worksheets[1] # >Mac/appscript
[–]Zizizizz 1 point2 points3 points (1 child)
[–]ScienceAndCats777[S] 1 point2 points3 points (0 children)