@echo off rem Double-click to start the ranker. setlocal cd /d "%~dp0" where python >nul 2>&1 if errorlevel 1 goto nopython echo Starting the ranker. Close this window to stop it. echo. python serve.py %* if errorlevel 1 pause exit /b 0 :nopython echo Could not find python on your PATH. echo. echo Install Python 3, or make sure "python" works from a terminal, then run this again. echo. pause exit /b 1