how to make an exe with py2exe code example Example: how to make exe from.py file pyinstaller --onefile pythonScriptName.py