On 9-10-2015 20:45, gall.pavgal.g...@gmail.com wrote: > Hi Guys, > > i wrote small function : > > Excel = win32com.client.Dispatch("Excel.Application")
[...] > com_error: (-2147221008, 'CoInitialize has not been called.', None, None) > > Please, help me! :) > First hit on google when searching for "CoInitialize has not been called python": http://stackoverflow.com/questions/26745617/win32com-client-dispatch-cherrypy-coinitialize-has-not-been-called I.e. do what the error says, call CoInitialize from your threads. Irmen -- https://mail.python.org/mailman/listinfo/python-list