Message293780
I've been fighting with this issue today trying to import networkx in the embedded Python shipped with IDA-Pro. I have implemented a local fix to pgen.py that allows networkx to import and be used in IDAPython scripts. I added a check to see if a .zip archive appears in the path of the file loaded in the constructor and if so I use the zipfile package to open the archived file rather than the standard file open() function.
I've uploaded the modified pgen.py in case any one is interested. |
|
Date |
User |
Action |
Args |
2017-05-16 20:37:35 | kirk.d.sayre | set | recipients:
+ kirk.d.sayre, paul.moore, ncoghlan, benjamin.peterson, dstufft, Marcus.Smith, Oleg N, Florian Hassanen, fourplusone, Sébastien Taylor, ppinard |
2017-05-16 20:37:35 | kirk.d.sayre | set | messageid: <1494967055.56.0.702404073459.issue24960@psf.upfronthosting.co.za> |
2017-05-16 20:37:35 | kirk.d.sayre | link | issue24960 messages |
2017-05-16 20:37:35 | kirk.d.sayre | create | |
|