From 083b24b279e952cd9eb357e5054d9f5d1f86f644 Mon Sep 17 00:00:00 2001 From: Hankai Zhang Date: Tue, 14 Jul 2020 16:11:49 -0400 Subject: [PATCH 1/2] Comment about Python versions. --- content/1_Intro/Running_Python.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content/1_Intro/Running_Python.mdx b/content/1_Intro/Running_Python.mdx index 19ff11d..e1cb7d6 100644 --- a/content/1_Intro/Running_Python.mdx +++ b/content/1_Intro/Running_Python.mdx @@ -11,7 +11,11 @@ Download Python through [the official website](https://python.org). On Windows and Mac, you can download executable files directly; on Linux, you must either download the Python source code and compile from source, or obtain Python through your package manager. -Make sure that you are using the correct version of Python. Python 2 is quite different from Python 3 (but parts of the version number beyond 2. or 3. does not matter much). **This can matter when using the command line to run Python;** sometimes, 'python3' must be used instead of 'python' in order to run Python 3. Try both commands, and pay attention to the version that Python prints, to determine if this is the case on your system. +Make sure that you are using the correct version of Python. Python 2 is quite different from Python 3 (but parts of the version number beyond 2. or 3. does not matter much). + +We generally recommend newcomers to Python to use Python 3, but if you are used to programming in Python 2, that is OK too. + +**The Python version can matter when using the command line to run Python;** sometimes, 'python3' must be used instead of 'python' in order to run Python 3. Try both commands, and pay attention to the version that Python prints, to determine if this is the case on your system. Python comes with a program, known as IDLE (Integrated Development and Learning Environment), that allows one to write and run Python code. It supports many features, such as syntax highlighting and automatic indentation, that one would normally expect from an IDE/text editor. However, feel free to use another editor or IDE if you want to. From a5dc4f7488dac096840700d22586c60d6d45f347 Mon Sep 17 00:00:00 2001 From: Hankai Zhang Date: Tue, 14 Jul 2020 16:12:15 -0400 Subject: [PATCH 2/2] grammar --- content/1_Intro/Running_Python.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/1_Intro/Running_Python.mdx b/content/1_Intro/Running_Python.mdx index e1cb7d6..aa1a8d0 100644 --- a/content/1_Intro/Running_Python.mdx +++ b/content/1_Intro/Running_Python.mdx @@ -11,7 +11,7 @@ Download Python through [the official website](https://python.org). On Windows and Mac, you can download executable files directly; on Linux, you must either download the Python source code and compile from source, or obtain Python through your package manager. -Make sure that you are using the correct version of Python. Python 2 is quite different from Python 3 (but parts of the version number beyond 2. or 3. does not matter much). +Make sure that you are using the correct version of Python. Python 2 is quite different from Python 3 (but parts of the version number beyond 2. or 3. do not matter much). We generally recommend newcomers to Python to use Python 3, but if you are used to programming in Python 2, that is OK too.