How to extract all dependencies from a Windows file in Python or grep

 ̄綄美尐妖づ 提交于 2019-12-13 03:23:53

问题


How do I extract all the dependencies from a Windows file in Python? So I basically want to extract all the used exe,dll,osx,sys etc. files.

I would like to to this in Python or directly with grep.


回答1:


Pefile can help you parse PE executables. You can find some usage examples on the project's page.



来源:https://stackoverflow.com/questions/3056267/how-to-extract-all-dependencies-from-a-windows-file-in-python-or-grep

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!