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

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/k/a/karesansui-HEAD/karesansui/lib/virt/virt.py   karesansui(Download)
     XEN_KEYMAP_DIR
 
from karesansui.lib.const import KVM_VIRT_CONFIG_DIR, \
     KVM_VIRTUAL_DISK_PREFIX, \
     KVM_VIRT_URI_RW, KVM_VIRT_URI_RO, \

src/k/a/karesansui-HEAD/karesansui/lib/utils.py   karesansui(Download)
    </comment-en>
    """
    from karesansui.lib.const import VIRT_LIBVIRTD_CONFIG_FILE, \
               VIRT_LIBVIRT_SOCKET_RW, VIRT_LIBVIRT_SOCKET_RO, \
               KVM_VIRT_URI_RW, KVM_VIRT_URI_RO, \
                uris[_mech] = "%s://%s%s" % (uri_prefix,hostname,uri_suffix,)
            else:
                uris[_mech] = KVM_VIRT_URI_RW
 
    return uris