pyinstaller documentation code example
Example 1: pyinstaller
pyinstaller --onefile --windowed --icon=<project-logo>.ico --add-data "<folder>;<folder>" <filename.py>
Example 2: pyinstaller
pip install pyinstaller
Example 3: pyinstaller
pip install pyinstaller
pyinstaller <file name>.py
pyinstaller --onefile <file name>.py
Example 4: how to use pyinstaller
pyinstaller -- onefile <file name>
Example 5: pyinstaller
pyinstaller --onefile --noconsole "<filename>"
Example 6: pyinstaller windows
> pyinstaller filename.py
> import sys
> sys.setrecursionlimit(5000)
> pyinstaller filename.spec