I’m new with python
This my code:
import win32com
import win32com.client
update = win32com.client .Dispatch('Micr osoft.Update.Se ssion')
updateSearcher = update.CreateUp dateSearcher()
in this line I has exception
searchResult = updateSearcher. Search(‘AutoSel ectOnWebSites=1 and Type="Software" ’)
the exception that I got is:
(-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2145124302), None)
I think the exception raise because the parameters problems.
Somebody please explain me what mining of this exception and how can I fix this problem
Thank you
Samuel
This my code:
import win32com
import win32com.client
update = win32com.client .Dispatch('Micr osoft.Update.Se ssion')
updateSearcher = update.CreateUp dateSearcher()
in this line I has exception
searchResult = updateSearcher. Search(‘AutoSel ectOnWebSites=1 and Type="Software" ’)
the exception that I got is:
(-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2145124302), None)
I think the exception raise because the parameters problems.
Somebody please explain me what mining of this exception and how can I fix this problem
Thank you
Samuel
Comment