RE: [python-win32] Re: win32process user info

2005-03-03 Thread Tom Haddon
Great! Works a treat! I think I'll go with the run under system account option. Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roger Upole Sent: Wednesday, March 02, 2005 7:49 PM To: python-win32@python.org Subject: [python-win32] Re: win32process us

[python-win32] win32process user info

2005-03-02 Thread Tom Haddon
ername for each process? Thanks, Tom ----------- Tom Haddon Equilar, Inc. 1710 South Amphlett Boulevard Suite 312 San Mateo, CA 94402 650-286-4528 (phone) 650-286-4513 (fax) [EMAIL PROTECTED] CONFIDENTIALITY NOTICE: This is a transmission from Equilar, Inc.

RE: [python-win32] Re: Memory Usage for Processes

2005-02-10 Thread Tom Haddon
Sorry, a little quick on the trigger there. I have it working as below (as you can see this is just testing code). I'm now having trouble retrieving the name of the process. I'm trying: win32process.GetModuleFileNameEx(handle, ) The module handle is escaping me. I've tried using the win32con.P

RE: [python-win32] Re: Memory Usage for Processes

2005-02-10 Thread Tom Haddon
Hi Roger, I tried both of these but was getting the following messages. Is there any way of confirming which parameter it's refering to? Could it be my "process" parameter? Thanks, Tom Traceback (most recent call last): File "C:\test\memusage.py", line 24, in ? test = processes.listproce

[python-win32] Memory Usage for Processes

2005-02-10 Thread Tom Haddon
tProcessMemoryInfo(handle) if __name__=="__main__": processes = WinProcesses() test = processes.listprocesses() print test ------- Tom Haddon Equilar, Inc. 1710 South Amphlett Boulevard Suite 312 San Mateo, CA 94402 650-286-4528 (ph