TemplateGenerator v0.1.0 documentation
API Documentation¶
Scan a directory structure to generate a Python file which when executed will generate a similar directory structure but with folders and file contents renamed according to various options.
Effectively this module helps you quickly write code to generate directory structures from a template.
- templategenerator.gen_template(start_path, base_prepend='', replacements=None, ignore_extensions=[, 'pyc', 'swp', 'pyo'], ignore_files=[], treat_as_binary=[])¶