Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

sinchan ClamCao

🎯
Focusing
Block or report user

Report or block ClamCao

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ClamCao
ClamCao / depressZipFile.py
Last active Dec 6, 2019
解决zipfile解压中文压缩包乱码问题,以及文件加密判断,这里只做解压乱码的问题处理,未实现加密文件解压
View depressZipFile.py
# coding=utf8
# !/usr/bin/python2.7
import chardet
import os
import zipfile
def decompressChar(string, encode=None):
try:
if isinstance(string, unicode):
You can’t perform that action at this time.