An open API service indexing awesome lists of open source software.

https://github.com/tameronline/pro_exe


https://github.com/tameronline/pro_exe

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

# ๐Ÿ› ๏ธ pro_exe - Python to EXE Converter

**pro_exe** is a simple, lightweight tool that allows you to convert any Python `.py` script into a standalone Windows `.exe` executable using [PyInstaller](https://www.pyinstaller.org/).
It supports drag & drop, command-line arguments, or interactive file selection via a GUI.

---

## ๐Ÿš€ Features

- โœ… Converts any `.py` file into a `.exe` with the same name
- ๐Ÿ–ฑ๏ธ Supports drag & drop
- ๐Ÿ“‚ GUI file selection if no arguments are provided
- ๐Ÿงน Auto-cleanup of `build/`, `__pycache__/`, `.spec`, and `.log` files
- ๐Ÿ“ฆ Uses `PyInstaller` under the hood

---

## ๐Ÿ”ง Requirements

- Python 3.x
- `pyinstaller` (installed via `pip`)

Install requirements:

```bash
pip install -r requirements.txt
```

---

## ๐Ÿ“ฆ Usage

### โžค Method 1: Run from terminal

```bash
python myapp.py your_script.py
```

### โžค Method 2: Run without arguments (GUI file picker will open)

```bash
python myapp.py
```

### โžค Method 3: Drag & Drop

Drag any `.py` file onto `myapp.py` to convert it to `.exe`.

---

## ๐Ÿ“ Output

The resulting `.exe` file will be available in the `dist/` directory:

```
dist/
โ””โ”€โ”€ your_script.exe
```

---

## โš– License

This project is licensed under the **Apache License 2.0** โ€“ see the [LICENSE](LICENSE) file for details.