Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

28 wiersze
419 B

  1. @echo off
  2. setlocal
  3. cd /d "%~dp0"
  4. if exist "D:\Anaconda3\python.exe" (
  5. "D:\Anaconda3\python.exe" -B main.py
  6. goto :done
  7. )
  8. where py >nul 2>nul
  9. if not errorlevel 1 (
  10. py -3 -B main.py
  11. goto :done
  12. )
  13. where python >nul 2>nul
  14. if not errorlevel 1 (
  15. python -B main.py
  16. goto :done
  17. )
  18. echo Python 3 was not found.
  19. echo Install Python 3 and enable "Add Python to PATH", then try again.
  20. pause
  21. :done
  22. endlocal