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

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)
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/gadget/uriguestby1status.py   karesansui(Download)
     VIRT_COMMAND_RESUME_GUEST, VIRT_COMMAND_REBOOT_GUEST, \
     VIRT_COMMAND_DESTROY_GUEST, VIRT_COMMAND_AUTOSTART_GUEST
from karesansui.lib.const import KARESANSUI_TMP_DIR
 
from karesansui.lib.utils import \
 
                                if creds != '':
                                    passwd_file = KARESANSUI_TMP_DIR + "/" + segs['host'] + ".auth"
                                    open(passwd_file, "w").write(creds)
                                    os.chmod(passwd_file, 0600)

src/k/a/karesansui-HEAD/bin/ready_mount.py   karesansui(Download)
    from karesansui import __version__
    from karesansui.lib.utils import load_locale, execute_command, pipe_execute_command, generate_phrase, get_filesystem_info
    from karesansui.lib.const import KARESANSUI_TMP_DIR, MOUNT_CMD, UMOUNT_CMD, FORMAT_CMD, YES_CMD
 
except ImportError, e:
        try:
            tmp_dir_name = generate_phrase(12,'abcdefghijklmnopqrstuvwxyz')
            tmp_dir_path = "%s/%s" % (KARESANSUI_TMP_DIR, tmp_dir_name)
            os.mkdir(tmp_dir_path)
        except:

src/k/a/karesansui-HEAD/karesansui/lib/rrd/rrd.py   karesansui(Download)
                                         is_libvirt_interface_file_exist
 
from karesansui.lib.const import COLLECTD_DATA_DIR, KARESANSUI_TMP_DIR
from karesansui.lib.utils import get_hostname, locale_dummy
 
class RRD:
    _graph_dir = KARESANSUI_TMP_DIR