Python/Compression
< Python
Jump to navigation
Jump to search
LZMA (*.xz)
Decompress
import lzma
with lzma.open("file.xz") as f:
file_content = f.read()
Compress
# TODO
Zip (*.zip)
Decompress
# TODO
Compress
# TODO
import lzma
with lzma.open("file.xz") as f:
file_content = f.read()
# TODO
# TODO
# TODO