win32com
win32com equivalent of xlrd's sheet.ncols
xlrd makes it pretty easy to know what the last column is. is there an easy way using win32com? I have t开发者_如何学运维ried using ws.UsedRange.Rows.Count but this doesnt seem to give a correct ans[详细]
2023-01-01 23:05 分类:问答How do I search & replace all occurrences of a string in a ms word doc with python?
I am pretty stumped at the moment. Based on Can I use Win32 COM to replace text inside a word开发者_开发知识库 document? I was able to code a simple template system that generates word docs out of a t[详细]
2022-12-31 15:09 分类:问答How to open write reserved excel file in python with win32com?
I\'m trying to open a write-protected ms excel 2007 file using win32com in python -- I know the password.I can open it with user input of the password into the excel dialog box.I want to be able to op[详细]
2022-12-31 12:18 分类:问答py2exe/pyinstaller and DispatchWithEvents
I have a program that uses the win32com library to control iTunes, but have been having some issues getting it to compile into an executable. The problem seems to revolve around using DispatchWithEven[详细]
2022-12-28 09:49 分类:问答Python win32com: Excel set chart type to Line
This VBA macro works: Sub Draw_Graph() Columns(\"A:B\").Select ActiveSheet.Shapes.AddChart.Select ActiveChart.SetSourceData Source:=ActiveSheet.Range(\"$A:$B\")[详细]
2022-12-19 00:06 分类:问答RegFree DLL with CPython using win32com module
I am currently using the win32com module of CPython to use a DLL. I know some people using IronPython to automagically get the list of functions provided by this DLL. They don\'t need to register the[详细]
2022-12-17 08:50 分类:问答py2exe and win32com
Can py2开发者_开发技巧exe create standalone executables even ones requiring the win32com package?[详细]
2022-12-17 08:17 分类:问答'proper' & reliable way to get all installed windows programs in Python?
I\'ve seen numerous ways of retrieving installed programs on WinXP+ in python.What is the proper and most robust way of doing this?[详细]
2022-12-16 19:43 分类:问答Using win32com and/or active_directory, how can I access an email folder by name?
In python w/ Outlook 2007, using win32com and/or active_directory, how can I get a reference to a sub-folder so that I may move a MailItem to this sub-folder?[详细]
2022-12-16 14:54 分类:问答Asynchronous data through Bloomberg's new data API (COM v3) with Python?
Does anyone know how to get asynchronous data through Bloomberg\'s new data API (COM v3) with Pyth开发者_JS百科on? I found this code below on wilmott.com and it works just fine, but it\'s for the old[详细]
2022-12-15 23:21 分类:问答