views:

12

answers:

1

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.

A: 

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

Unknown
Thanks a lot, this is just perfect!
john