Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/k/a/karesansui-HEAD/karesansui/gadget/guestby1graphics.py   karesansui(Download)
from karesansui.lib.rest import Rest, auth
 
from karesansui.lib.const import VIRT_COMMAND_SET_GRAPHICS, \
     GRAPHICS_PORT_MIN_NUMBER, GRAPHICS_PORT_MAX_NUMBER, ENABLE_GRAPHICS_TYPE
from karesansui.lib.const import XEN_KEYMAP_DIR, KVM_KEYMAP_DIR
 
            self.view.checked_graphics_type = {}
            self.view.graphics_type = ENABLE_GRAPHICS_TYPE
            for _type in self.view.graphics_type:
               self.view.checked_graphics_type[_type] = ''