Skip to content

Commit ddd1acb

Browse files
authored
Update python_and_core_tools.rst
1 parent ca66552 commit ddd1acb

1 file changed

Lines changed: 19 additions & 17 deletions

File tree

source/topics/01-setting_up/python_and_core_tools.rst

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -44,23 +44,24 @@ There are a number of different Python interpreters (or run-time environments) a
4444

4545
These each have their own special uses. For example, for interaction with the Java VM or Microsoft CLR, or running on micro controllers. But most production Python is run with the cPython interpreter, and most people mean cPython when they say "Python".
4646

47-
For this program, you will need cPython version 3.6, installed and running so that when you type "python" at your command line, it starts up.
47+
For this program, you will need cPython version 3.8, installed and running so that when you type "python" at your command line, it starts up.
4848

49-
cPython itself is available from a number of sources, or "distributions". We recommend the version available from python.org.
49+
cPython itself is available from a number of sources, or "distributions". We recommend the version available from `python.org`.
5050

5151
Python is also available as part of the Anaconda data analysis environment, as well as a few other sources. These Python distributions will work fine for this class, but when we get to advanced topics like virtual environments, there are some differences -- and you will be responsible for adapting to these differences.
5252

53+
5354
Your Development Environment
5455
============================
5556

56-
There are three basic elements to your environment when working with Python:
57+
There are four elements to your environment when working with Python:
5758

5859
* The Command Line
5960
* The Interpreter
6061
* The Editor
6162
* The source code version control system
6263

63-
Some folks use an Integrated Development Environment (IDE), which combines some or all of these functions. For this class, we don't recommend using an IDE, because while it can make some things easier, it can also hide things that will be good for you to understand.
64+
Some folks use an Integrated Development Environment (IDE), which combines some or all of these functions. For this class, we don't recommend using an IDE, because while it can make some things easier, it can also hide things that will be good for you to understand. But it's your call -- you should use tools you are comfortable with.
6465

6566
Minimal Requirements
6667
--------------------
@@ -85,7 +86,7 @@ If you are not set up and comfortable with doing all that, read and follow these
8586
Then come back and follow the rest of this review.
8687

8788

88-
The Command Line (cli)
89+
The Command Line (CLI)
8990
======================
9091

9192
Having some familiarity with the command line is important
@@ -94,7 +95,7 @@ Familiarity with basic use of the command line is a prerequisite for the program
9495

9596
We have some resources here: :ref:`command_line_basics`
9697

97-
We suggest running through the **cli** tutorial at "learn code the hard way":
98+
We suggest running through the **CLI** tutorial at "learn code the hard way":
9899

99100
`Command Line Crash Course <https://learnpythonthehardway.org/book/appendixa.html>`_
100101

@@ -128,7 +129,7 @@ Drag and Drop it into the dock for easy access.
128129

129130
The Terminal app can be interfaced with the Finder, making it easy to open it up with the working dir set to the current folder in the finder:
130131

131-
On The Mac, you can add a "New Terminal at Folder" right-click menu item by:
132+
On The Mac, you may have a "New Terminal at Folder" right-click (or command click -- "secondary click") menu item already -- try it! If not, you can turn it on by following these instructions:
132133

133134
Head into System Preferences and select Keyboard => Shortcuts => Services. Find "New Terminal at Folder" in the settings and click the box. Now, when you're in Finder, just right-click a folder and you're shown the open to open Terminal. When you do, it'll start right in the folder you're in.
134135

@@ -247,22 +248,22 @@ Typing code in an interpreter is great for exploring.
247248

248249
But for anything "real", you'll want to save the work you are doing in a more permanent fashion.
249250

250-
This is where an Editor fits in.
251+
This is where an editor fits in.
251252

252253
.. _editor_for_python:
253254

254255
Text Editors Only
255256
-----------------
256257

257-
Any good programmers text editor will do.
258+
Any good programmer's text editor will do.
258259

259260
MS Word is **not** a text editor.
260261

261262
Nor is *TextEdit* on a Mac.
262263

263264
``Notepad`` on Windows is a text editor -- but a poor one.
264265

265-
You need a real "programmers text editor"
266+
You need a real "Programmer's Text Editor"
266267

267268
A text editor saves only what it shows you, with no special formatting
268269
characters hidden behind the scenes.
@@ -299,7 +300,7 @@ https://atom.io/
299300

300301
:ref:`vsc_as_ide`
301302

302-
And, of course, vim or Emacs on Linux, if you are familiar with those.
303+
And, of course, vim or Emacs on Linux, if you are familiar with one of those.
303304

304305

305306
Why No Full IDE?
@@ -314,19 +315,20 @@ Setting up IDEs to work with different projects can be challenging and time-cons
314315
Particularly when you are first learning, you don't want too much done for you.
315316

316317

317-
Why Not an IDE?
318-
---------------
318+
Why an IDE?
319+
-----------
319320

320321
That said ...
321322

322323
You may want to go get the educational edition of PyCharm:
323324

324325
https://www.jetbrains.com/pycharm-edu/
325326

326-
Which is awesome.
327+
Which a lot of people like a lot.
328+
329+
VSCode from MS is apretty full featured IDE as well.
327330

328-
But do make sure, when you set it up, that you know what its doing when you click "run"
329-
, and that it is using the version of Python that you expect.
331+
But do make sure, when you set up and IDE, that you know what its doing when you click "run", and that it is using the version of Python that you expect. (cPython 3.8 in this case)
330332

331333
Version Control System
332334
========================
@@ -335,7 +337,7 @@ While not strictly necessary to develop code, it is a very, very, good idea to m
335337

336338
https://en.wikipedia.org/wiki/Version_control
337339

338-
This is such a critical software development practice the we use it in the program for you to mange your projects and turn in assignments, so that you can gain familiarity with the practice.
340+
This is such a critical software development practice the we use it in the program for you to mange your projects and turn in assignments (via gitHub classroom), so that you can gain familiarity with the practice.
339341

340342
git
341343
---

0 commit comments

Comments
 (0)