首页 > 解决方案 > 如何从 .wim 文件中获取文件列表

问题描述

我遇到了一个问题,我无法从扩展名为 .wim 的文件中获取文件列表

我需要这样的东西:

path = 'path/to/folder/example.wim'
with ZipFile(path, 'r') as zip_obj:
   list_of_iles = zip_obj.namelist()

但它仅适用于 .zip 文件

标签: python

解决方案


推荐阅读