Convert .py to .exe

 Convert .py to .exe

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
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 

Stored File


Now open cmd prompt

and write this code for convert .py to .exe 

pyinstaller file_name.py

Afte write that code press .enter key 
convert .py to .exe


When finished that processing after than open your file location where your python program 
is located. now you can see like as below picture 
Location of folder


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