Did I find the right examples for you? yes no

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/m/y/mykvm-0.3.8/mykvm/command.py   mykvm(Download)
from mykvm import BASE_IMAGES_PATH
from mykvm import IMAGES_PATH
from mykvm import MYKVM_CONFIG_PATH
 
from mykvm.util import bcolors
        cmd.append("create")
        cmd.append("-b")
        cmd.append(BASE_IMAGES_PATH + '/' + self.vm.get_template())
        cmd.append("-f")
        cmd.append("qcow2")

src/m/y/mykvm-0.3.8/mykvm/main.py   mykvm(Download)
from mykvm import VERSION
from mykvm import BASE_IMAGES_PATH
from mykvm import IMAGES_PATH
 
from mykvm.model import NetDev
            shutil.copytree(src, '.mykvm/ansible')
 
        base_image = BASE_IMAGES_PATH + '/' + "precise64.qcow2"
        if not os.path.isfile(base_image):
            print bcolors.OKGREEN + '* build base image ' + base_image + bcolors.ENDC
            cmd = []
            cmd.append(".mykvm/script/vmbuilder.sh")
            subprocess.call(cmd)
 
    if not os.path.exists(BASE_IMAGES_PATH):
 
    if not os.path.exists(BASE_IMAGES_PATH):
        os.makedirs(BASE_IMAGES_PATH)
 
    if not os.path.exists(IMAGES_PATH):