[issue32160] lzma documentation: example to XZ compress file on disk
Daniel Himmelstein
report at bugs.python.org
Tue Nov 28 15:50:26 EST 2017
Daniel Himmelstein <daniel.himmelstein at gmail.com> added the comment:
> 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 <report at bugs.python.org>
<https://bugs.python.org/issue32160>
_______________________________________
More information about the Python-bugs-list
mailing list