[issue32160] lzma documentation: example to XZ compress file on disk
28 Nov
2017
28 Nov
'17
8:50 p.m.
Daniel Himmelstein
we could consider an API addition
Just brainstorming here... perhaps an API addition would be most appropriate in the shutil module (https://docs.python.org/3.6/library/shutil.html) which already contains shutil.make_archive and shutil.unpack_archive. One could imagine shutil.compress and shutil.decompress that took a format argument to specify the compression type.
----------
_______________________________________
Python tracker
2340
Age (days ago)
2340
Last active (days ago)
0 comments
1 participants
participants (1)
-
Daniel Himmelstein