From 6db5ac693e84314ec7ac27455801bba310574809 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 16 Dec 2022 15:13:53 +0200 Subject: [PATCH 1/2] Python 3.7 is the oldest supported --- contemplate_koans.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/contemplate_koans.py b/contemplate_koans.py index b7d35d4b3..ddf992388 100644 --- a/contemplate_koans.py +++ b/contemplate_koans.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- # # Acknowledgment: @@ -16,18 +15,18 @@ if sys.version_info < (3, 0): print("\nThis is the Python 3 version of Python Koans, but you are " + "running it with Python 2!\n\n" - "Did you accidentally use the wrong python script? \nTry:\n\n" + + "Did you accidentally use the wrong Python script? \nTry:\n\n" + " python3 contemplate_koans.py\n") else: - if sys.version_info < (3, 3): + if sys.version_info < (3, 7): print("\n" + "********************************************************\n" + "WARNING:\n" + "This version of Python Koans was designed for " + - "Python 3.3 or greater.\n" + + "Python 3.7 or greater.\n" + "Your version of Python is older, so you may run into " + "problems!\n\n" + - "But lets see how far we get...\n" + + "But let's see how far we get...\n" + "********************************************************\n") from runner.mountain import Mountain From a0c9077c7e955af05559d51f548519bb4a7cf472 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 16 Dec 2022 15:15:05 +0200 Subject: [PATCH 2/2] Python 3.11 is the latest --- run.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.bat b/run.bat index c6a5fba4b..d965d4efe 100755 --- a/run.bat +++ b/run.bat @@ -5,7 +5,7 @@ REM You don't actually need this script! SET RUN_KOANS=python.exe -B contemplate_koans.py REM Set this to your python folder: -SET PYTHON_PATH=C:\Python39 +SET PYTHON_PATH=C:\Python311 set SCRIPT=