在Python中解析.iso文件
我想用 python 解析 .iso 文件。我想从 .iso 获取信息和数据,
例如有一个 iso 文件,其名称为 xyz.iso 但实际上它是一个 ubuntu 映像,它有 Readme.txt、.deb pacges 等文件。 我该怎么办呢?
I want to parse .iso file in python. I want to get information and data from .iso
for example there is a iso file, its name xyz.iso
but in fact it is a ubuntu image and it has file like Readme.txt, .deb pacges etc.
How can i do for this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以用于列出和提取,我测试了第一个。
https://github.com/barneygale/iso9660/blob/master/iso9660.py
You can use for listing and extracting, I tested the first.
https://github.com/barneygale/iso9660/blob/master/iso9660.py
您尝试过 Hachoir 吗?它允许您查看或编辑二进制流,并且它支持 ISO,如其
Have you tried Hachoir? It allows you to view or edit binary streams, and it supports ISO as shown on their documentation. It would allow you to browse the files and folders inside the ISO file.