You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
This is a template repository code for converting Python script to Windows executable using the cx_freeze library
Command to install the library
pip install cx_Freeze
Instructions
First, place the setup.py file in the same folder where your main Python file is. After that, Place the name of the Python file under the "executables" variable and include any additional files under the "options" variable. Then, set the process's name, add a description, and save the changes. Now, open the terminal in the folder and run this command
python setup.py build
This will compile the program under the "build" folder.
How to add a program icon
Change the executables line to this: Note: If you want to enable the debug console, set base="Console"