@echo off cd /d "%~dp0" if not exist venv ( echo L'environnement virtuel n'existe pas. Lancez d'abord setup.bat pause exit /b 1 ) call venv\Scripts\activate.bat python main.py if errorlevel 1 pause