pip install pyinstaller cd FullPathOfFile in cmd console pyinstaller --onefile pythonScriptName.py # a .exe file is created in the FullPathOfFiledist