This is a simple GUI-based application built using Python's tkinter library. It allows users to convert Python .py scripts into standalone .exe files using PyInstaller. The tool also supports optional icon selection for the generated executable and offers additional options for customization.
- Select a Python file to convert to
.exe. - Optional icon selection for the
.exefile. - Option to create a single
.exefile (--onefile). - Option to suppress the console window (
--noconsole). - User-friendly GUI with easy-to-navigate interface.
- Python 3.x
tkinter(usually included with Python)PyInstaller(install usingpip install pyinstaller)
- Clone this repository:
git clone https://github.com/AhmetBeratKocyigit/PyToExe-Converter
- Install
PyInstallerif you haven't already:pip install pyinstaller
- In the GUI:
- Use the Browse button to select a Python file to convert.
- (Optional) Use the Browse button next to Icon to select an
.icofile to use as the icon for the.exe. - Check the One File option if you want a single executable.
- Check the No Console option to suppress the console window.
- Click Convert to Exe to start the conversion. A message box will appear upon completion.
- The conversion process might take a few moments depending on the script size and the options selected.
- The resulting
.exefile will be saved in thedistfolder within the directory where the script is run.