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

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/b/u/burlap-0.1.2/burlap/__init__.py   burlap(Download)
def find_yaml_settings_fn(name, local=False):
    if local:
        settings_fn = os.path.join(common.ROLE_DIR, name, 'settings_local.yaml')
    else:
        settings_fn = os.path.join(common.ROLE_DIR, name, 'settings.yaml')
#if os.path.isfile(_common_fn):
#    _common = yaml.safe_load(open(_common_fn))
if os.path.isdir(common.ROLE_DIR):
    for _name in os.listdir(common.ROLE_DIR):
        _settings_fn = os.path.join(common.ROLE_DIR, _name, 'settings.yaml')