This repository holds all the course materials needed for the course on Python programming during LOT 2016 Winter school. Below, we list all the installation instructions which are needed to properly obtain and install all the software for the course.
This series of workshops consists of a series of chapters in the form of so-called "notebooks". These materials should be downloaded by clicking on the "download ZIP" button in the right column on this page. Unzip the file and save it somewhere on your computer. Below, we will assume that you unzipped this file on your desktop.
Please install the Anaconda distribution of Python, which is a package which comes with most of the functionality etc. which you will need for these workshops. Direct your browser to http://continuum.io/downloads#py34 and download the graphical installer. Double-click the downloaded file and install the Python distribution system-wide. Make sure that you download Python 3.
Once installed, open a terminal (on Linux or Mac OS X) or a command prompt (on Windows) and first cd
to the directory in which you saved the tutorial. For Mac OS X users:
cd /Users/your-user-name/Desktop/lot2016-master
For Linux users:
cd /home/your-user-name/Desktop/lot2016-master
For Windows users:
cd c:\Users\your-user-name\Desktop\lot2016-master
where you need to replace your-user-name
with your actual user name on your computer! Next type:
ipython notebook
If this returns an error message such as "Command not found", please try running with:
jupyter notebook
This will launch the jupyter notebook in your browser. Click on the appropriate link to open the first chapter etc.
For this course, you will need a decent, cross-platform text editor. We recommend installing Sublime Text 3. Just surf to the download tab and install the editor.
If you are unable to install or run the notebooks, you can use the following static versions of the course chapters (see the links listed at the top of this page). Note that these pages do not allow you to execute any code.