How do I close a specific application via python (windows)

Mark Hammond MarkH at
Sat Jun 23 21:08:49 EDT 2001

Christian Reyes wrote:

> I've been looking at the win32api.openprocess method and that seems to give
> me hooks to killing an app.
> But my problem is that openprocess needs a processID.
> How do i get the process id of an application?

Check out in the win32\scripts directory.


More information about the Python-list mailing list