Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/s/u/SublimePTY-HEAD/console/console_server.py   SublimePTY(Download)
MAX_BUFFER_HEIGHT = 100
 
PYTHON_PID = win32process.GetCurrentProcessId()
 
# import signal

src/l/i/Lightningbeam-HEAD/GUI/Win32/Application.py   Lightningbeam(Download)
    def _check_for_no_windows(self):
        #print "Application._check_for_no_windows" ###
        apid = wp.GetCurrentProcessId()
        #print "... apid =", apid ###
        htop = gui.GetDesktopWindow()

src/d/j/djangobench-HEAD/djangobench/perf.py   djangobench(Download)
def CanGetMemoryUsage():
    """Returns True if MemoryUsageFuture is supported on this platform."""
    if win32api:
        try:
            with _OpenWin32Process(win32process.GetCurrentProcessId()):

src/z/c/zc.zope3recipes-0.18.0/zc/zope3recipes/winctl.py   zc.zope3recipes(Download)
        self.zd_up = 0
        self.zd_pid = 0
        cpid = win32process.GetCurrentProcessId()
        self.awhile(lambda: not getChildrenPidsOfPid(cpid), "Zope3 stopped")