I'm try to embed a IExplorerBrowser (Windows Explorer) in a wxpython application but I cannot seem to get the IExplorerBrowser module opened in python
I have the CLSID of IExplorerBrowser from the registry but when I try and open it with:
from win32com import client
client.gencache.GetModuleForCLSID(id)
Nothing is returned.. i.e. the module does not exist.
Am I going about this the wrong way? I usually use makepy to generate COM wrappers and open them with client.Dispatch, getting the object names from the makepy generated code. However, I can n开发者_高级运维ot find the IExplorerBrowser object in the makepy COM browser and am pretty much stuck.
Thanks
Most of the windows shell interfaces can be accessed from win32com.shell. Also take a look at the sample explorer_browser.py
, which should be in your site-packages/win32comext/shell/demos
directory.
精彩评论