File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ REM Set this to your python folder:
88SET PYTHON_PATH = C:\Python27
99
1010set SCRIPT =
11+
12+ :loop
13+
1114REM Hunt around for python
1215IF EXIST " python.exe" (
1316 SET SCRIPT = %RUN_KOANS%
@@ -32,4 +35,11 @@ IF NOT "" == "%SCRIPT%" (
3235 echo python.exe contemplate_koans.py
3336 pause
3437)
38+
39+ Set /p keepgoing = " Test again? Y or N - "
40+ if " %keepgoing% " == " y" (
41+ goto loop
42+ )
43+
44+
3545:end
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ REM Set this to your python folder:
88SET PYTHON_PATH = C:\Python34
99
1010set SCRIPT =
11+
12+ :loop
13+
1114REM Hunt around for python
1215IF EXIST " python.exe" (
1316 SET SCRIPT = %RUN_KOANS%
@@ -32,4 +35,10 @@ IF NOT "" == "%SCRIPT%" (
3235 echo python.exe contemplate_koans.py
3336 pause
3437)
38+
39+ Set /p keepgoing = " Test again? y or n - "
40+ if " %keepgoing% " == " y" (
41+ goto loop
42+ )
43+
3544:end
You can’t perform that action at this time.
0 commit comments