on
laravel
- Get link
- Other Apps
If you are doing convert first time .py to .exe then you will install pyinstaller .
Open python terminal and write below code for install pyinstaller module.
code is
pip install pyinstaller
Now press enter and wait for 1 or 2 minute until not install
pyinstaller module
after completed this method use below method for convert .py to .exe
Now open cmd prompt
and write this code for convert .py to .exe
pyinstaller file_name.py
Afte write that code press .enter key
When finished that processing after than open your file location where your python program
is located. now you can see like as below picture
Now open dist folder and open your folder which name of your python program same.
now search to .exe file and open that. Finished process of convert .py to .exe
thanks
Comments
Post a Comment
If you any doubt of any topic then you can comment me.