File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 "Did you accidentally use the wrong python script? \n Try:\n \n " +
2222 " python contemplate_koans.py\n " )
2323 else :
24- if sys .version_info < (2 , 6 ):
24+ if sys .version_info < (2 , 7 ):
2525 print ("\n " +
2626 "********************************************************\n " +
2727 "WARNING:\n " +
2828 "This version of Python Koans was designed for " +
29- "Python 2.6 or greater.\n " +
30- "Your version of Python is older, so this is unlikely " +
31- "to work !\n \n " +
29+ "Python 2.7 or greater.\n " +
30+ "Your version of Python is older, so you may run into " +
31+ "problems !\n \n " +
3232 "But lets see how far we get...\n " +
3333 "********************************************************\n " )
3434
Original file line number Diff line number Diff line change @@ -5,9 +5,7 @@ REM You don't actually need this script!
55SET RUN_KOANS = python.exe contemplate_koans.py
66
77REM Set this to your python folder:
8- SET PYTHON_PATH = C:\Python26
9-
10-
8+ SET PYTHON_PATH = C:\Python27
119
1210set SCRIPT =
1311REM Hunt around for python
Original file line number Diff line number Diff line change 1616if __name__ == '__main__' :
1717 if sys .version_info < (3 , 0 ):
1818 print ("\n This is the Python 3 version of Python Koans, but you are " +
19- "running it with Python 2 or older !\n \n "
19+ "running it with Python 2!\n \n "
2020 "Did you accidentally use the wrong python script? \n Try:\n \n " +
2121 " python3 contemplate_koans.py\n " )
2222 else :
23+ if sys .version_info < (3 , 3 ):
24+ print ("\n " +
25+ "********************************************************\n " +
26+ "WARNING:\n " +
27+ "This version of Python Koans was designed for " +
28+ "Python 3.3 or greater.\n " +
29+ "Your version of Python is older, so you may run into " +
30+ "problems!\n \n " +
31+ "But lets see how far we get...\n " +
32+ "********************************************************\n " )
33+
2334 from runner .mountain import Mountain
2435
2536 Mountain ().walk_the_path (sys .argv )
Original file line number Diff line number Diff line change @@ -5,9 +5,7 @@ REM You don't actually need this script!
55SET RUN_KOANS = python.exe contemplate_koans.py
66
77REM Set this to your python folder:
8- SET PYTHON_PATH = C:\Python31
9-
10-
8+ SET PYTHON_PATH = C:\Python33
119
1210set SCRIPT =
1311REM Hunt around for python
You can’t perform that action at this time.
0 commit comments