会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
帅胡
2023年3月22日
gzip模块详解
摘要: 包方法: GzipFile open gzip_file = gzip.open('B5-H.pickle.gz') >>> type(tar_file) <class 'gzip.GzipFile'> tar_file1 = gzip.GzipFile('testtar.tar') >>> typ
阅读全文
posted @ 2023-03-22 21:29 帅胡
阅读(37)
评论(0)
推荐(0)
获取下载的rar、zip文件内容
摘要: archive_stream = io.BytesIO(r.content) archive = RarFile(archive_stream) archive_stream = io.BytesIO(r.content) archive = ZipFile(archive_stream)
阅读全文
posted @ 2023-03-22 13:10 帅胡
阅读(30)
评论(0)
推荐(0)
rarfile详解
摘要: rarfile.RarFile(file, mode='r', charset=None, info_callback=None, crc_check=True, errors='stop', part_only=False) 属性: 'comment', 'filename', 方法: 'need
阅读全文
posted @ 2023-03-22 13:08 帅胡
阅读(392)
评论(0)
推荐(0)
Python rarfile解压rar包报错 rarfile.RarCannotExec: Cannot find working tool
摘要: 在系统环境变量中配置了winrar的路径
阅读全文
posted @ 2023-03-22 11:07 帅胡
阅读(840)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告