Skip to content Skip to sidebar Skip to footer

Decompile *.pyc File Using Uncompyle2

I'm trying to decompile *.pyc file using uncompyle2 (https://github.com/wibiti/uncompyle2). So first step I am doing is cloning git git clone https://github.com/wibiti/uncompyle2

Solution 1:

On cmd you need to run the script uncompyle2 from Scripts folder, that should be in C:\Python27\Scripts

From IDLE you could to something like this

import uncompyle6

withopen("uncompiled file.py", "wb") as fileobj:
    uncompyle6.uncompyle_file("afile.pyc", fileobj)

Post a Comment for "Decompile *.pyc File Using Uncompyle2"