【问题标题】:Extract content from encrypted rar file with given password使用给定密码从加密的 rar 文件中提取内容
【发布时间】:2019-03-10 08:23:44
【问题描述】:

patoolib 可用于从 rar 文件中提取内容,例如:

import patoolib
patoolib.extract_archive("test.rar", outdir=".")

如果我的 test.rar 文件有密码 123,我如何将密码作为参数提供给 extract_archive 调用?

在文档中没有找到任何内容。 有没有其他的lib?

【问题讨论】:

    标签: python passwords extract rar compression


    【解决方案1】:

    尝试使用这个库here,它支持受密码保护的存档。

    【讨论】:

      猜你喜欢
      • 2020-10-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-01-11
      • 2012-06-19
      • 2017-08-18
      • 2011-11-19
      • 2012-09-29
      相关资源
      最近更新 更多