10 lines
174 B
Batchfile

@echo off
setlocal
where py >nul 2>nul
if %errorlevel% equ 0 (
py -3 "%~dp0belt_tearing_tcp_test.py" %*
) else (
python "%~dp0belt_tearing_tcp_test.py" %*
)
endlocal