Files
letterboxd-rating-sorter/Rank films.cmd
2026-09-22 23:01:56 +02:00

22 lines
408 B
Batchfile

@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