Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 691 Bytes

File metadata and controls

20 lines (16 loc) · 691 Bytes

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`