pyinstaller make exe

C++
pyinstaller --onefile pythonScriptName.py
1. pip install pyinstaller

2. cd to your file directory in the commandline

3. pyinstaller yourprogram.pypyinstaller --onefile pythonScriptName.py
Source

Also in C++: