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

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Build new directory structure and files based on template.

src/r/i/rip-0.1.1/rip/plugin.py   rip(Download)
    else:
        location = os.curdir
    dirs, files = builder.build(settings.plugin_template, location)
    print dirs, "directories created"
    print files, "files written"

src/r/i/rip-0.1.1/rip/gen.py   rip(Download)
                      filters=[StringTemplateFilter()], 
                      ignore=settings.ignore)
    dirs, files = builder.build(settings.gen_template, package_name)
    print dirs, "directories created"
    print files, "files written"

src/r/i/rip-0.1.1/rip/create.py   rip(Download)
                      filters=[StringTemplateFilter()],
                      ignore=settings.ignore)
    dirs, files = builder.build(settings.create_template, args[0].title())
    print dirs, "directories created"
    print files, "files written"

src/h/a/Haus-0.1.0/haus/cli.py   Haus(Download)
                      filters=[StringTemplateFilter()],
                      ignore=['.hg'])
    dirs, files = builder.build(init_template, target_dir)
    print dirs, "directories created."
    print files, "files written."