COM lifetimes

Volucris volucris at hotmail.com
Sat Apr 7 16:53:04 EDT 2001


When I do the following, Word doesn't close.
>>> from win32com.client import Dispatch
>>> w = Dispatch("Word.Application")
>>> w.visible = 1
>>> w = None
I though python was to handle this. How do I close a COM object? I'm using
PythonWin 2.0. Any ideas?

greg





More information about the Python-list mailing list