ResSimpy.Nexus.nexus_file_operations.create_templated_file
- ResSimpy.Nexus.nexus_file_operations.create_templated_file(template_location: str, substitutions: dict, output_file_name: str)[source]
Creates a new text file at the requested destination substituting the supplied values.
- Parameters:
template_location (str) – path to the template file
substitutions (dict) – dictionary of substitutions to be made {variable: subsistuted_value,}
output_file_name (str) – path/name of the file to write out to