![]() ![]() Depend on where you run that command (Windows, MacOS or Linux), the executable file will be runnable for corresponding platform. To build that Python to exe we can use Pyinstaller which was installed in previous step pyinstaller -onefile test.pyīy running above command, PyInstaller will build our Python script to executable file: test.exe. Let say we have a very simple Python script that just print the Hello world text to the console. Open your command promt/terminal and execute the command to install PyInstaller pip install Pyinstallerīuild Python script to executable binary file ![]() Please don't forget to add Python to your PATH environment. ![]() The first thing is, of course, you have to install Python. This tutorial will show you how to convert Python to exe using PyInstaller.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |