Yes I have tried in Python IDE by writing a following statement:
import excel -----it is a module in which append function defined
path = “D\my1\report1.xlsx”
excel.append(path)
after that I got error:
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
excel.append(path)
File "C:\Python27\Lib\excel.py", line 22, in append
ws1 = wb1.Worksheets("Sheet1")
File "C:\Python27\lib\site-packages\win32com\client\__init__.py",
line 502, in __getattr__
if d is not None: return getattr(d, attr)
File "C:\Python27\lib\site-packages\win32com\client\__init__.py",
line 463, in __getattr__
return self._ApplyTypes_(*args)
File "C:\Python27\lib\site-packages\win32com\client\__init__.py",
line 456, in _ApplyTypes_
self._oleobj_.InvokeTypes(dispid, 0, wFlags, retType, argTypes,
*args),
com_error:
(-2147417848, 'The object invoked has disconnected from its
clients.', None, None)