I have a program with python and it has 3 modules .py.
what should i do to create exe format of this program?
i try this with pyinstaller but thats create exe for my main .py and other .py
modules not contains in it!
I have a program with python and it has 3 modules .py.
what should i do to create exe format of this program?
i try this with pyinstaller but thats create exe for my main .py and other .py
modules not contains in it!
Install pyinstaller:
Go to command prompt and type pip install pyinstaller
.
Create .exe: If you want to create a .exe from a .py you need to open your command prompt under the correct directory of the file and type:
pyinstaller —-onefile filename // e.g hello.py as the filename
If it has any basic graphics, type the following in command prompt
pyinstaller —-onefile -w then your file name
This should all work.
If it does not I recommend that you watch this video.