convert .py to .exe using pyinstaller

C++
! pip install pyinstalller
! pyinstaller --onefile pythonScriptName.py
Source

Also in C++: