print dir(mod)
ob = mod.Application
Try adding parens after that line - currently 'ob' is the class, where you
want an instance of the class.
ob = mod.Application()
That may get closer.
Mark
___
Python-win32 mailing list
Python-win32@python.org
I have been trying to use sleep() and kernel32.QueryPerformanceCounter
together; I want to delay until a particular tick without trying up the
CPU badly.
However, while time.sleep(.001) relieves the CPU, it has wildly
unpredictable delay, and sleep(.0001) delays almost nothing at all! (I'm