Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
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/c/o/Copy-Queue-HEAD/cpq_mvq.py   Copy-Queue(Download)
    It will start the daemon only if it's not running.
    """
    if os.path.exists(cfg.LOCK):
        return
    # else

src/c/o/Copy-Queue-HEAD/cpq_mvq_daemon.py   Copy-Queue(Download)
    daemon. In this case the lock file is created.
    """
    if os.path.exists(cfg.LOCK):
        debug('daemon already running; not starting another instance')
        sys.exit()
    # else
    os.system("touch {lock}".format(lock=cfg.LOCK))
    the lock file.
    """
    if os.path.exists(cfg.LOCK):
        os.unlink(cfg.LOCK)