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

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
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/collectd/config.py   karesansui(Download)
from karesansui.lib.utils import preprint_r
from karesansui.lib.collectd.utils import create_plugin_selector, plugin_selector_to_dict
from karesansui.lib.const import VENDOR_PREFIX, KARESANSUI_PREFIX, \
                                 VENDOR_DATA_DIR, \
                                 COUNTUP_DATABASE_PATH, COLLECTD_LOG_DIR, \
DEFAULT_KARESANSUI_CONF = "/etc/karesansui/application.conf"
if os.path.exists(COLLECTD_PLUGIN_DIR):
    COLLECTD_PLUGIN_DIR = "%s/lib/collectd" % VENDOR_PREFIX
COLLECTD_SHARE_DIR         = "%s/share/collectd" % VENDOR_PREFIX