Python San Sebastian 2015

workshops

General information

  • Workshops are free of charge and no registration is required to assit.
  • Note that the room is limited. In case there are many people, registered people will have preference.

 

Schedule

Friday, October 23

10.00 - 13.30 (30 min break) Scientific python by Iñigo Aldazabal and Oier Echaniz

15.00 - 17.30 Scrapy Workshop by Juan Riaza

 

Location

The workshop will take place in the CFM Auditorium, UPV/EHU Ibaeta Campus, San Sebastián - Donostia

 

On Google Maps

 

We will  have a meeting point in front of the conference venue (Centro Santamaria) at 9.45 and we will guide you to the workshop location.

 

Requirements

Bash Shell or similar (mandatory)

Git (not mandatory, recommended)

Python: (mandatory, python 3 recommended)

- ipython notebook or jupyter

- numpy

- scipy

- matplotlib

 

 

Setup

You will need access to the software described in the requirements. In addition, you will need an up-to-date web browser.

 

The Bash Shell

Bash is a commonly-used shell that gives you the power to do simple tasks more quickly.

Windows

Download the Git for Windows installer. Run the installer. Important: on the 6th page of the installation wizard (the page titled `Configuring the terminal emulator...`) select `Use Windows' default console window`. If you forgot to do this programs that you need for the workshop will not work properly. If this happens rerun the installer and select the appropriate option. This will provide you with both Git and Bash in the Git Bash program.

Mac OS X

The default shell in all versions of Mac OS X is bash, so no need to install anything. You access bash from the Terminal (found in /Applications/Utilities). You may want to keep Terminal in your dock for this workshop.

Linux

The default shell is usually Bash, but if your machine is set up differently you can run it by opening a terminal and typing bash. There is no need to install anything.

 

Git

Git is a version control system that lets you track who made changes to what when and has options for easily updating a shared or public version of your code on github.com. You will need a supported web browser (current versions of Chrome, Firefox or Safari, or Internet Explorer version 9 or above).

Windows

Git should be installed on your computer as part of your Bash install (described above).

Mac OS X

For OS X 10.9 and higher, install Git for Mac by downloading and running the most recent "mavericks" installer from this list. After installing Git, there will not be anything in your /Applications folder, as Git is a command line program. For older versions of OS X (10.5-10.8) use the most recent available installer labelled "snow-leopard" available here.

Linux

If Git is not already available on your machine you can try to install it via your distro's package manager. For Debian/Ubuntu run sudo apt-get install git and for Fedora run sudo yum install git.

 

Python 3

In this tutorial we will teach youto install python with an all-in-one installer.

Regardless of how you choose to install it, please make sure you install Python version 3.x and not version 2.x (e.g., 3.4 is fine but not 2.7). Python 3 introduced changes that are backwards incompatible and might not run well using Python 2.

We will teach Python using the IPython notebook, a programming environment that runs in a web browser. For this to work you will need a reasonably up-to-date browser. The current versions of the Chrome, Safari and Firefox browsers are all supported (some older browsers, including Internet Explorer version 9 and below, are not).

Windows
  • Download and install Anaconda.
  • Download the Python 3 installer (do not follow the link to version 2.7). Use all of the defaults for installation except make sure to check Make Anaconda the default Python.
Mac OS X
  • Download and install Anaconda.
  • Download the Python 3 installer (do not follow the link to version 2.7). Use all of the defaults for installation.
Linux

We recommend the all-in-one scientific Python installer Anaconda. (Installation requires using the shell and if you aren't comfortable doing the installation yourself just download the installer and we'll help you at the workshop.)

  1. Download the installer that matches your operating system and save it in your home folder. Download the Python 3 installer (do not follow the link to version 2.7).
  2. Open a terminal window.
  3. Type
    bash Anaconda-
    and then press tab. The name of the file you just downloaded should appear.
  4. Press enter. You will follow the text-only prompts. When there is a colon at the bottom of the screen press the down arrow to move down through the text. Type yes and press enter to approve the license. Press enter to approve the default location for the files. Type yes and press enter to prepend Anaconda to your PATH (this makes the Anaconda distribution the default Python).

Once you are done installing the software listed above, you can go to this page, which has instructions on how to test that everything was installed correctly.