Hi,
I have recently started using ComTypes instead of win32com for
automation using COM interfaces.
In the following example, how to successfully close/un-initialize a
comtype object
from comtypes.client import CreateObject
filepath=r"C:\Temp\BERLINEMRR_LBTR_15118.docx"
mtc = CreateObject('ContentTrackingAPI.ManualTagClient')
pTagFileList = mtc.getFileTagList(filepath)
Will mtc = None suffice?
win32com had something like this
win32com.client.pythoncom.CoUninitialize()
It is important because I am using OOP framework in designing Keywords
and the object has to be unintialized at the end of its use
Thanks
------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete
for recognition, cash, and the chance to get your game on Steam.
$5K grand prize plus 10 genre and skill prizes. Submit your demo
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
comtypes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/comtypes-users