# Copyright (c) 2016 <NAME>.  All rights reserved.
# Written for https://pymotw.com
#
"""Which archive formats can be extracted?
"""

# end_pymotw_header
import shutil

for format, exts, description in shutil.get_unpack_formats():
    print("{:<5}: {}, names ending in {}".format(format, description, exts))

# Copyright (c) 2016 <NAME>.  All rights reserved.
# Written for https://pymotw.com
#
"""Which archive formats can be extracted?
"""

# end_pymotw_header
import shutil

for format, exts, description in shutil.get_unpack_formats():
    print("{:<5}: {}, names ending in {}".format(format, description, exts))

# Copyright (c) 2016 <NAME>.  All rights reserved. # Written for https://pymotw.com # Which archive formats can be extracted? # end_pymotw_header