[python-win32] Releasing a Com object
Gary Scorby
Gary.Scorby at harlandfs.com
Tue Jan 20 19:36:04 CET 2009
I'm having trouble releasing a com object. In the past I've always set
the instance to None and life is good, as in the example below. I'm
currently working with an object I can't release with this method.
Anybody have a different/better way to handle this?
Thanks
Gary
# example
xxx = win32com.client.Dispatch('abcd.XXX')
# to release
xxx = None
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20090120/cd842c67/attachment.htm>
More information about the python-win32
mailing list