These IPython notebooks are part of a workshop at the Annenberg School for Communication at University of Pennsylvania beginning in February 2016. The goal of the workshops is to be a collaborative environment for researchers in Communication to learn and practice basic Python programming skills for use in their research.
Topics covered will include:
The Anaconda distribution of Python 3 is recommended:
https://www.continuum.io/downloads
Select the Python 3 installer for your operating system and run through the installation steps.
We will work with Python in a number of different ways, including:
There are numerous text editors across different OSes, e.g. Notepad, Notepad++, TextMate, TextWrangler, nano, emacs, vim, that you may already be familar with. Many of these are Python aware (i.e., will do some kind of highlighting of syntax and may even highlight errors).
If you don't have a particular favorite or would like to try a newish one we recommend using Atom.
Download at:
and follow installation for your operating system.
This will open up a terminal/console and start an IPython notebook running.
It will also open up a new tab in your default browser. This is the HOME location of the notebook server.
The notebook server will start running in your home directory (/Users/[USERNAME] on a mac and C:/Users/[USERNAME])
Select this folder and create a new notebook:
In [ ]: