@@ -0,0 +1,783 @@
+#!/usr/bin/env python3%0A%0A# vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:%0A%0A%0A%0Aimport argparse%0Aimport os%0Aimport zipfile%0A%0A%0Aparser = argparse.ArgumentParser(description = %22Extract zip file includes cp932 encoding file name%22)%0Aparser.add_argument(%22file%22)%0Aargs = parser.parse_args()%0A%0Awith zipfile.ZipFile(args.file, 'r') as archive:%0A    for item in archive.namelist():%0A        filename = item.encode(%22cp437%22).decode(%22cp932%22)%0A        directory = os.path.dirname(filename)%0A%0A        if not os.path.exists(directory):%0A            os.makedirs(directory)%0A%0A        if os.path.basename(filename):%0A            with open(filename, %22wb%22) as data:%0A                data.write(archive.read(item))%0A%0A%0A%0A# Local variables:%0A# tab-width: 4%0A# c-basic-offset: 4%0A# c-hanging-comment-ender-p: nil%0A# End:%0A%0A

Add unzip.py