Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>py2exeNew to Visual Studio Code? Get it now.
py2exe

py2exe

zynx

| (0) | Free
Convert any python file to an exe with a simple button.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Py2Exe – Convert Python Files to EXE Inside VS Code

Py2Exe is a lightweight Visual Studio Code extension that lets you convert any Python script into a standalone Windows executable using PyInstaller.

Features

  • One‑click “Convert to EXE” button in the editor toolbar
  • Optional icon selection for your EXE
  • Smart file detection (works even if no file is open)
  • Clean terminal output
  • PyInstaller version check
  • Works with any Python script

Requirements

You must have PyInstaller installed:

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft