Simple guide for Python teaching. Copied a bunch of notebooks from http://introtopython.org/ Removing sections linking to python 3.3 and making notebooks python 2.7.x friendly.
To view and only read the content of the notebooks go to http://nbviewer.ipython.org/ and enter the github-url to any notebook you want to view. Enter the below url at http://nbviewer.ipython.org/ https://github.com/harph/python-class/blob/master/notebooks/index.ipynb
Else you can view the index page for this class's notebooks here.
- Install Python https://www.python.org/downloads/ Please install version 2.7.8
- Install setuptools / pip https://pypi.python.org/pypi/setuptools#installing-and-using-setuptools Type pip on your terminal to make sure you have installed it correctly.
- Install ipython notebooks using the command $ pip install "ipython[notebook]" Detailed instructions can be found here. http://ipython.org/install.html
You can also install python with all the required tools using anaconda or Canopy
Here is a video showing the same. Installing and running ipython notebooks
- clone this git repository. git clone https://github.com/harph/python-class
- Navigate to the python class directory in your terminal and run ipython notebook
- You can click any notebook and it will run it. From there you can click on a cell and run each cell individually.
This is a short demo of how to use ipython notebooks.