-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathREADME
More file actions
22 lines (16 loc) · 747 Bytes
/
README
File metadata and controls
22 lines (16 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pyc2py
======
Pyc2py is a python decompiler: you can use it to retrieve the source code
when having the bytecode file (*.pyc).
It is currently beta software and was only tested with python2.6 bytecode
files.
Usage:
./main.py <path_to_your_pyc_file> > output.py
Important note
==============
In order to simplify its design, pyc2py uses python introspection features.
Thanks to this, bytecode analysis is limited to function and class methods.
As a consequence, the first step of the analysis is the import of the module
implemented in the *.pyc input file; if this module imports other modules,
these additional modules must be present in the "python path" (in either form,
'.py' or '.pyc'), otherwise this preliminary import will fail.