Popular recipes by nuumio http://code.activestate.com/recipes/users/4182080/2012-05-15T18:01:22-07:00ActiveState Code RecipesGet parent process pid win32 (Python) 2012-05-15T18:01:22-07:00nuumiohttp://code.activestate.com/recipes/users/4182080/http://code.activestate.com/recipes/578133-get-parent-process-pid-win32/ <p style="color: grey"> Python recipe 578133 by <a href="/recipes/users/4182080/">nuumio</a> (<a href="/recipes/tags/process/">process</a>, <a href="/recipes/tags/process_management/">process_management</a>). </p> <p>Use ctypes + Win32 functions to enumerate processes and find parent process id.</p> <p>Thanks to winterTTr Dong for the original recipe.</p>