distrax.utils.fileio.append_file_in_folder#
- distrax.utils.fileio.append_file_in_folder(folder, file_to_update, files_to_append)[source]#
Append file_to_update with the files in files_to_append.
Write the contents of the files_to_append into the file_to_update, the files must be from the same folder.
- Parameters:
- Return type:
Examples
- cat ./file1
hi
- cat ./file2
hi
>>> distrax.utils.fileio.append_file_in_folder(".", "file1", ["file2"])
cat ./file1
hin hi