python - 如何从 .wim 文件中获取文件列表
问题描述
我遇到了一个问题,我无法从扩展名为 .wim 的文件中获取文件列表
我需要这样的东西:
path = 'path/to/folder/example.wim'
with ZipFile(path, 'r') as zip_obj:
list_of_iles = zip_obj.namelist()
但它仅适用于 .zip 文件
解决方案
推荐阅读
- python - 如何在我的代码中使用输入?
- javascript - 将焦点设置在 jQuery ajax 成功方法中打开的窗口上
- c++ - 对于每次绘制调用数据,使用 UBO(统一缓冲区对象)的正确方法是什么。(OpenGL/C++)
- c# - Sitecore 获取所有语言的列表
- django - 如何将 Django + Angular 解耦应用程序中的照片/文件正确上传到 S3?
- angular - 输入上的角度数据名称属性。预期行为?
- excel - 如何比使用 FileSystemObject 更快地(有条件地)遍历文件
- java - 记录异常并继续执行,代码不会混乱
- angular - Angular 6.x / 设置 jsessionid cookie
- javascript - 无法将整个 HTML 内容放入 iframe