To get started, I'm gonna use an example Python file from writing a keylogger tutorial, to show you how you can exactly use Pyinstaller. Read Also: How to Make a Process Monitor in Python.Īlright, it is pretty simple to install it: pip3 install pyinstaller
Pyinstaller analyzes your code to discover every other module and library your script is using in order to execute, then it collects copies of all those files and puts them with your script in a single folder (or a single executable). exe), you need to run Pyinstaller on Windows, and if you want a GNU/Linux app, you do the same, etc. PyInstaller isn't cross-compiler, which means if you want to make a Windows executable (.
It supports Python 2.7 and Python 3.4+ and successfully bundles the major and famous Python packages such as numpy, PyQT, Django and more. The user can run and execute the resulting packaged application without installing a Python interpreter or any modules. PyInstaller freezes Python applications into a stand-alone executables under Windows, GNU/Linux, Mac OS X, FreeBSD, Solaris and AIX. exe file ? or you want to bundle a large Python project into a single executable package ? Well, in this tutorial, you will learn how you can use PyInstaller package to be able to do that. Have you ever wanted to quickly build your Python application into a single Windows.