In python, we can use PyInstaller library to convert a python script to exe. Here is the tutorial:
However, it is not easy to use PyInstaller. Is there an easy way to use PyInstaller? In this tutorial, we will use auto-py-to-exe, which uses a simple graphical interface and PyInstaller to convert python to exe.
We can use command below to install it.
pip install auto-py-to-exe
Then we can start it using this command:
We will see a gui window as follows:
Here we will convert a python script to exe.
From image above, we can find that auto-py-to-exe will create a pyinstaller command to bundle exe, which make us use pyinstaller easily.