Monday, August 24, 2020

Exe using pyinstaller

a) pip install pyinstaller

b) On the command prompt, go to the folder where your .py file is located.

c) Type "pyinstaller --onefile file.py".

d) A number of folders and files will be created. Take the .exe file from the "dist" folder just created and paste it in the same folder as your .py file.

e) Run it.


No comments:

Post a Comment