Skip to content

Instantly share code, notes, and snippets.

@earthGavinLee
earthGavinLee / unzip3_gbk.py
Created January 8, 2016 18:56 — forked from wangjiezhe/unzip3_gbk.py
解决zip文件中文乱码问题
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
unzip3_gbk.py: Deal with zip files using encoding GB2312/GBK/GB18030
"""
import os
# import sys
import argparse
import zipfile