Is there a way to get the list of Open Handles of a process in windows through python. I have able to find the solution in C/C++ through system calls but I have to do it in Python. Can Win32api help ??
Asked
Active
Viewed 2,483 times
1
-
Are you spawning those processes or do you mean just any process running ? – pypat Apr 30 '13 at 07:10
-
http://stackoverflow.com/questions/252417/how-can-i-use-a-dll-from-python – Prof. Falken Apr 30 '13 at 07:14
-
The `ctypes` module lets you make system calls in Python. – Martijn Pieters Apr 30 '13 at 07:15
-
Well, I want to get the handles for any process. I have the list of all processes running on a system and want to get the handles for each of them. – Faheem Apr 30 '13 at 07:15
1 Answers
0
Use the ctypes import, then you can do the same things (mostly) you can in C, but with Python.

Prof. Falken
- 24,226
- 19
- 100
- 173