Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
From python script to exe to setup.
1. Write your python script
Check -> wxPython is a GUI toolkit for the Python programming language. It allows Python programmers to create programs with a robust, highly functional graphical user interface, simply and easily.
Helper for wxPython (a must for beginners)
2. type the following command cd c:\python27\scripts press enter, this should be where your pip.exe file is located.
Once you are in this directory type pip install pyinstaller press enter
google pywin32, install the 32/64 bit variant.
2. go to your script directory and write pyinstaller --icon=icon.ico --noconsole -nProgramName
3. Download and install innosetup ->
4. Create a new project with wizzard.
Congratulations, you reached the end of this :)
Method 2:
install py2exe
from distutils.core import setup
import py2exe
python py2exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment