/python-to-.exe

make your python file executable.

Primary LanguageHTMLCreative Commons Zero v1.0 UniversalCC0-1.0

convert any ptrhon file to executable by changing it's extension to .exe

steps -->

  1. install pyinstaller ( pip install pyinstaller)
  2. open terminal in the file location
  3. execute command -$ pyinstaller filename.py

pyinstaller filename.py

  • filename is the name of your python file
  1. go to the dist folder
  2. goto the filename folder
  3. find filename.exe
  4. run it.