ID EN
Shutil

register_unpack_format

Python 3.11

Registers an unpack format. name is the name of the format and extensions is a list of extensions corresponding to the format, like .zip for Zip files.

Syntax

PYTHON
shutil.register_unpack_format(name, extensions, function[, extra_args[, description]])

See Also

unpack_archive() get_unpack_formats()