harph / python-class

Simple guide for Python teaching

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python-class

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.

Steps to view Ipython notebooks

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.

Steps to Install Ipython notebooks

  1. Install Python https://www.python.org/downloads/ Please install version 2.7.8
  2. 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.
  3. 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

Steps to run the class notebooks on your computer.

  1. clone this git repository. git clone https://github.com/harph/python-class
  2. Navigate to the python class directory in your terminal and run ipython notebook
  3. 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.

About

Simple guide for Python teaching