Convert a Python Project to an Executable (.exe) File

preview_player
Показать описание
Using Auto PY to EXE we can convert .py files to .exe files very easily. This way our Python project will act as a desktop application. And we will be able to run the application on other windows machines without installing Python. In this article, you will learn how to convert a Python project to an executable file. The process will work whether your application has just one .py file or a several .py files. Note that Auto PY to EXE works only in Python version 3.5 or higher. So you can’t use it in Python version lower than 3.5.

Pyinstaller allows you to quickly convert a Python file to an executable file from your terminal. Once you’ve created your virtual environment and installed the requirements for your script (including pyinstaller), simply open the terminal and navigate to the directory where the Python file you wish to convert is located.
Рекомендации по теме
Комментарии
Автор

After conversion, say you wanna distribute your (.exe) file but you found out on Virustotal it detects it as a Trojan. They are not trojan, but false-positive.
I'm gonna soon make a video how to FIX this *Pyinstaller EXE False-Positive Trojan Virus [RESOLVED]*

YashvirGaming
Автор

pyinstaller is easy to decomp tho i recomend nuitka u cant decomp that

Wock_Codes
Автор

hello man can you show how we can turn a svb config into an executable with an ui in cmd

Varks