# Option 1:
pip install auto-py-to-exe
auto-py-to-exe
# Option 2:
pip install pyinstaller
pyinstaller --onefile yourFile.py
# Option 3:
pip install nuitka
nuitka --one-file yourFile.py
pip install pyinstaller
cd FullPathOfFile in cmd console
pyinstaller --onefile pythonScriptName.py
# a .exe file is created in the FullPathOfFiledist
# In the command line, install pyinstaller
python -m pip install pyinstaller
# You might need to add pyinstaller to path. You can do that
# by adding the "scripts" folder in your python installation to path
pyinstaller yourprogram.py
# plz suscribe to my youtube channel -->
# https://www.youtube.com/channel/UC-sfqidn2fKZslHWnm5qe-A
#first install pyinstaller using
#pip install pyinstaller
#open your cmd
#first change the directory by using
cd The_path_of_your_code in control panel
#then write simple command given below
pyinstaller --onefile your_script_name.py
#now the file will have its exe file in short period of time
# Открыть командную строку windows
# Установить pyinstaller
pip install pyinstaller
# Затем перейти в папку с Вашим файлом .py в командной строке (при помощи команды cd)
# Запустить команду pyinstaller не забудьте указать имя вашего скрипта
pyinstaller --onefile <your_script_name>.py
# Всё - у вас в папке появится папка src и там будет .exe файл.
Open your command prompt
pip install pyinstaller
cd YourFilePath
pyinstaller --onefile YourFileName
put this in a .bat file or just run it in CMD
pyinstaller --onefile file_name.py
pyinstaller --onefile filename.py
Install pip using
pip install pyinstaller
in the directory of the source code file run
pyinstaller <file_name>.py
pyinstaller --onefile hello.py
Exe (Compiled using pyinstaller) --> Python
1.) Download https://sourceforge.net/projects/pyinstallerextractor/
2.) python pyinstxtractor.py executable.exe
Credits & Source: https://stackoverflow.com/questions/36581073/exe-to-python-with-pyinstaller
pip install pyinstaller
pyinsaller -F -w -i icon.ico main.py