Programming with Python: Setup

In preparation for this lesson, you will need to download two zipped files and place them in the specified folder:

  1. Make a new folder in your Desktop called python-novice-inflammation.
  2. Download python-novice-inflammation-data.zip and move the file to this folder.
  3. Also download python-novice-inflammation-code.zip and move it to the same folder.
  4. If the files aren’t unzipped yet, double-click to unzip them. You should end up with two new folders called data and code.
  5. To get started, go into the data folder from the Unix shell with:
$ cd
$ cd Desktop/python-novice-inflammation/data

If you will be using the Jupyter (IPython) notebook for the lesson, you should have already installed Anaconda which includes the notebook.

To start the notebook server, open a terminal or git bash and type the command:

$ jupyter notebook

Then create a new notebook using the drop-down menu on the right to select ‘Python 3 notebook’:

To start the Python interpreter without the notebook, open a terminal or git bash and type the command:

$ python