#Convert .py to .exe don't use python ver 3.9 will not work recomment 3.8:
pip install pyinstaller
#to convert to a simple exe file the exe file will be in your dist folder
pyinstaller 'fileName.py'
#to convert to a onefile exe file the exe file will be in your dist folder
pyinstaller --onefile 'fileName.py'
to convert to a onefile exe file and the python window will not appear
pyinstaller -w --onefile 'fileName.py'