1#Convert .py to .exe don't use python ver 3.9 will not work recomment 3.8:
2
3pip install pyinstaller
4
5#to convert to a simple exe file the exe file will be in your dist folder
6pyinstaller 'fileName.py'
7
8#to convert to a onefile exe file the exe file will be in your dist folder
9pyinstaller --onefile 'fileName.py'
10
11to convert to a onefile exe file and the python window will not appear
12pyinstaller -w --onefile 'fileName.py'
1# Pip install
2$ pip install auto-py-to-exe
3$ auto-py-to-exe
4
5# clone install
6$ git clone https://github.com/brentvollebregt/auto-py-to-exe.git
7$ python -m pip install -r requirements.txt
8$ cd auto-py-to-exe
9$ python setup.py install
10
11$ auto-py-to-exe