Will you force your client to install python?
.py
to .exe
in less than 30 sec
Hi, python developers always shipping your code as .py
.
Let your next code be shipped as .exe
Here’s how to convert your python script to .exe
on windows:
- Setup your python path in your system
- open your script directory and create a virtual environment
- activate your virtual environment
- run
pip install pyinstaller
- after it installs then
pyinstaller /path/to/yourscript.py
- Now a directory named
dist
is created there you will find the.exe
file generated - If there are any drivers or dependencies for your script to execute go through the below website to explore more.
Note: Python installed from the Windows store when not using virtual environments
Hope you liked it, feel free to ask your queries I am happy to answer them.
Github if you want to follow.