openfl.interface.cli_helper.replace_line_in_file
- openfl.interface.cli_helper.replace_line_in_file(line, line_num_to_replace, filename)
Replace line at line_num_to_replace with line.
- Parameters:
line (str) – The new line.
line_num_to_replace (int) – The line number to be replaced.
filename (str) – The name of the file.