@@ -11,12 +11,7 @@ and instructions on how to obtain them are provided below.
1111## Install Python
1212
1313In this lesson, we will be using Python 3 with some of its most popular scientific libraries.
14- Although one can install a plain-vanilla Python and all required libraries by hand,
15- we recommend installing [ Anaconda] [ anaconda-website ] ,
16- a Python distribution that comes with everything we need for the lesson.
17- Detailed installation instructions for various operating systems can be found
18- on The Carpentries [ template website for workshops] [ anaconda-instructions ]
19- and in [ Anaconda documentation] [ anaconda-install ] .
14+ One can install a plain-vanilla Python and all required libraries by hand.
2015
2116## Obtain lesson materials
2217
@@ -39,30 +34,9 @@ you like.
3934## Option A: Jupyter Notebook
4035
4136A Jupyter Notebook provides a browser-based interface for working with Python.
42- If you installed Anaconda, you can launch a notebook in two ways :
37+ You can launch a notebook from the command line :
4338
44- ::::::::::::::::: spoiler
45-
46- ## Anaconda Navigator
47-
48- 1 . Launch Anaconda Navigator.
49- It might ask you if you'd like to send anonymized usage information to Anaconda developers:
50- ![ ] ( fig/anaconda-navigator-first-launch.png ) {alt='Anaconda Navigator first launch'}
51- Make your choice and click "Ok, and don't show again" button.
52- 2 . Find the "Notebook" tab and click on the "Launch" button:
53- ![ ] ( fig/anaconda-navigator-notebook-launch.png ) {alt='Anaconda Navigator Notebook launch'}
54- Anaconda will open a new browser window or tab with a Notebook Dashboard showing you the
55- contents of your Home (or User) folder.
56- 3 . Navigate to the ` data ` directory by clicking on the directory names leading to it:
57- ` Desktop ` , ` swc-python ` , then ` data ` :
58- ![ ] ( fig/jupyter-notebook-data-directory.png ) {alt='Anaconda Navigator Notebook directory'}
59- 4 . Launch the notebook by clicking on the "New" button and then selecting "Python 3":
60- ![ ] ( fig/jupyter-notebook-launch-notebook.png ) {alt='Anaconda Navigator Notebook directory'}
61-
62- :::::::::::::::::::::::::
63-
64-
65- ::::::::::::::::: spoiler
39+ :::::::::::::::: spoiler
6640
6741## Command line (Terminal)
6842
@@ -131,8 +105,8 @@ from the drop-down menu:
131105
132106IPython is an alternative solution situated somewhere in between the plain-vanilla Python
133107interpreter and Jupyter Notebook. It provides an interactive command-line based interpreter with
134- various convenience features and commands. You should have IPython on your system if you installed
135- [ Anaconda ] [ anaconda-instructions ] .
108+ various convenience features and commands. You can install IPython on your system
109+ [ system ] ( https://ipython.org/install.html ) .
136110
137111To start using IPython, execute:
138112
@@ -156,9 +130,7 @@ If you are using [Git Bash on Windows][gitbash], you have to call Python *via* `
156130winpty python
157131```
158132
159- [ anaconda-website ] : https://www.anaconda.com/
160- [ anaconda-instructions ] : https://carpentries.github.io/workshop-template/install_instructions/#python
161- [ anaconda-install ] : https://docs.anaconda.com/anaconda/install
133+
162134[ zipfile1 ] : data/python-novice-inflammation-data.zip
163135[ zipfile2 ] : ../episodes/files/code/python-novice-inflammation-code.zip
164136[ gitbash ] : https://gitforwindows.org
0 commit comments