Greetings. I need a working example of implementing an event handler in
a C++ client with a python server. I broke apart the python connect
example into a client and server. (i.e. I split
C:\Python24\Lib\site-packages\win32com\demos\connect.py into client.py
and server.py in some other directory
On Tue, 4 Oct 2005 01:33:07 -0700 (PDT), ng hsiaohui
<[EMAIL PROTECTED]> wrote:
>I am creating MS word document using python win32.
>
>import win32com.client
>w = win32com.client.Dispatch("word.application")
>doc = w.Documents.Add("c:/test.doc")
>
>After that where can I find the command use to w
This is an aparent solution
only sintaxis "Processor"
By
import win32pdh, time, win32pdhutil
path = win32pdh.MakeCounterPath( (None,"Processor","_Total", None, -1, "%
Processor Time") ) #Idle, _Total
print path
# open the query, and add the counter to the query
#print win32pdhutil.GetPerformanceA
At Tuesday 4/10/2005 12:20, [EMAIL PROTECTED] wrote:
>A final approach would be to record a macro of what you trying to do and
>then examine the code to find the appropriate objects, interfaces and methods.
I consider this the easiest way, specially when you don't know how the
exposed objects w
Hi all,
I'm rather frustrated by an issue I'm having.
This sample bit of code runs fine; however, at the end just hangs and the
program never ends. I'm using Python 2.3.2 (from ActiveState - build 232)
BEGIN CODE
import win32com.client
def recurse(objstr):
for obj in win32com.client.Ge