python how to create executable file code example
Example 1: how to run a .exe through python
import os
os.startfile("C:\Documents and Settings\flow_model\flow.exe")
Example 2: convert .py to .exe using pyinstaller
! pip install pyinstalller
! pyinstaller --onefile pythonScriptName.py