Hey python programmer in this today post i goona tell you that how you can covert your python programm into exe
So To Convert Your File Into Exe You have to install a module called pyinstaller . You can install using your window command prompt using command
>
pip install pyinstaller
After the completion of installation pyinstaller. Just go to your python program folder or directory
and Press Shit + Right Click On Mouse. A Window Will Appear Like This..
After that click on open command window here..It will open cmd prompt on your current directory
and type the command..
> pyinstaller notepad.py (replace notepad.py with your py programm)
Im converting My notepad.py to .exe like that type "pyinstaller and your python program" and hit enter.It will take couple of minute to covert depending on your program size. After the completion of process of converting.You will see that there will be new folders are created..
To see your Exe file just open the "dist' folder ..
And Your will be seen yourProgram.exe file..
Just Double click on the file to run the program and You guys can also share your program to other computer and it will not requried installation of python on others pc to run the program
0 Comments:
Post a Comment