Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
list() -> new empty list
list(iterable) -> new list initialized from iterable's items

src/w/a/wallmanager-HEAD/mtmenu/utils.py   wallmanager(Download)
from models import *
from window_manager import *
from config import MAX_ATTEMPTS, SLEEP_SECONDS_BETWEEN_ATTEMPTS, NATIVE_APP_NAMES, PRODUCTION
from mtmenu import logger
 
            for handler, name in w.getWindows():
                logger.debug("Window opened with name %s" % name)
                if handler != self_hwnd and name not in NATIVE_APP_NAMES:
                    hwnd = handler
                    logger.info('Changing context to handler %d with name %s' % (handler, name))
        for handler, name in w.getWindows():
            logger.debug("Window opened with name %s" % name)
            if handler != self_hwnd and name not in NATIVE_APP_NAMES:
 
                tid, pid = win32process.GetWindowThreadProcessId(handler)