how to install pyinstaller 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: how to use pyinstaller

pyinstaller -- onefile <file name>

Example 4: pyinstaller make exe

1. pip install pyinstaller

2. cd to your file directory in the commandline

3. pyinstaller yourprogram.py

Example 5: pyinstaller

pyinstaller --onefile --noconsole "<filename>"

Example 6: pyinstaller windows

#Run pyinstaller and stop it to generate the spec file :

>	pyinstaller filename.py

#A file with .spec as extension should be generated
#Now add the following lines to the beginning of the spec file :

>  import sys
>  sys.setrecursionlimit(5000)

#Now run the spec file using :

>	pyinstaller filename.spec