pyinstaller/pyinstaller — pull request #32 by kholia (2013-01-09 16:13:46+00:00)
Title: Implement extractor for PyInstaller generated apps

Implement extractor for PyInstaller generated apps.

Extract pyc (and py) files using ArchiveExtractor.py utility,

```

$ python2 utils/ArchiveExtractor.py ~/testapp
...
Extracting bytecode to output/mylib.pyc
Extracting source to output/hello.py

File(s) were extracted to output directory.
```

Use uncompyle2 to decompile pyc files,

```

$ python2 ~/uncompyle2/uncompyle2.py output/mylib.pyc
..
print 'mylib'
# okay decompyling output/mylib.pyc
# decompiled 1 files: 1 okay, 0 failed, 0 verify failed

```