Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions contemplate_koans.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

#
# Acknowledgment:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion run.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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=

Expand Down