Skip to content

Commit d32f43d

Browse files
committed
Добавлена проверка Python (3)
1 parent 0356c92 commit d32f43d

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

start.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ python -c "import sys; print(sys.version_info[:2])" > version.txt
2020
set /p version=<version.txt
2121
IF "%version%" LSS "3.10" (
2222
echo Your version of Python is not supported. Please install Python 3.10
23+
echo Ваша версия Python не поддерживается. Пожалуйста, установите Python 3.10
2324
pause
2425
)
2526
IF "%version%" GEQ "3.11" (
2627
echo Your version of Python is not supported. Please install Python 3.10
28+
echo Ваша версия Python не поддерживается. Пожалуйста, установите Python 3.10
2729
pause
2830
)
2931

start_endpoint.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ python -c "import sys; print(sys.version_info[:2])" > version.txt
1717
set /p version=<version.txt
1818
IF "%version%" LSS "3.10" (
1919
echo Your version of Python is not supported. Please install Python 3.10
20+
echo Ваша версия Python не поддерживается. Пожалуйста, установите Python 3.10
2021
pause
2122
)
2223
IF "%version%" GEQ "3.11" (
2324
echo Your version of Python is not supported. Please install Python 3.10
25+
echo Ваша версия Python не поддерживается. Пожалуйста, установите Python 3.10
2426
pause
2527
)
2628

version.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(3, 11)

0 commit comments

Comments
 (0)