compress Method
Creates the compressed archive.
Syntax
def compress() -> None: ...
Remarks
Invoking compress creates the archive specified by archive_file. When the method is called, the file specified by file_decompressed_name will be opened, and the file specified by archive_file will contain the compressed output.