either a tar archive file or a Python module used to handle tar archive files
I want to append a file to the tar file. For example, the files in test.tar.gz are a.…