Skip to content

kimtth/decompile-python-exe

Repository files navigation

decompile-python-exe

๐Ÿ”๐Ÿงฉ Decompile Python-built .exe files back to source code (.pyc, .pyd)

Overview

Decompile Python-compiled .exe executables generated by tools like PyInstaller, cx_Freeze, and py2exe.

Features

  • ๐Ÿงต Extract .pyc and .pyd files from packaged executables
  • ๐Ÿ”“ Decompile .pyc files into readable .py source code
  • ๐Ÿ›  Support for common packagers: PyInstaller, cx_Freeze, etc.

Usage

  • Input file: windows.exe
  • Commands:
poetry install
poetry run python -m pyinstxtractor_ng windows.exe  # Extract files to `windows.exe_extracted`
poetry run python windows_decompile.py             # Generate `decompiled_Main.py`

About

๐Ÿ”๐Ÿงฉ Decompile .exe files built from Python back to source code (pyc, pyd)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages