Create a cookiecutter template from an existing project directory
mould.
replace_directory_entries
(directory_entries, replacements)[source]¶Perform replacements substitutions on DirectoryEntry instances.
Also mention the cookiecutter thing? https://docs.python.org/3.3/library/stdtypes.html#str.replace
Specifically the path elements :param directory_entries: :param replacements: A dict where the key is the [value of the needle]
and the value
Returns: |
---|