Python Half Day Workshop

Who: Titus Brown (lead instructor)

When: December 3, 2015

Times: 1:30pm-4:30pm.

Where: 1043 Valley Hall, UC Davis campus

Cost: there is no fee.

Host: C. Titus Brown and Jessica Mizzi; contact Jessica Mizzi with any questions.

This workshop is open to everyone, including graduate students, postdocs, staff, faculty, and community members. We have extra space for UC Davis VetMed affiliates; contact the lead instructor if you are an SVM affiliate.

Description

This half day workshop will introduce biologists to working in Python 3. Python is a very powerful language for scientific computing and this workshop will give you some exposure to it. We will be covering the basics, including fundamental concepts such as loops, creating functions, and debugging. Some experience working with a scripting language (e.g. R or Python) is recommended but not necessary.

Topics overview

  • Introduction to python
  • Loops and functions
  • Data analysis using python
  • Troubleshooting

Schedule

  • 1:30pm-2pm: Introduction
  • 2pm-3:30pm: Basic Python concepts
  • 3pm: Coffee break
  • 3:15pm-4:30pm: Data analysis and troubleshooting

Please come a bit early if you have trouble with installation.

Computer and workshop requirements

Attendees will need to bring a computer with an Internet connection.

Please install Python 3.x before the workshop by following the instructions below.

Installation instructions

Python is a very powerful programming language. For this workshop, we will be working with Python 3. In order to avoid downloading all of its scientific packages individually, we will use Anaconda as an all-in-one installer.

Windows:

  1. Go to https://www.continuum.io/downloads.
  2. Download Python 3.x (3.4 is fine) 64-bit graphical installer for Windows, not Python 2.7.
  3. Install Python 3.x using all defaults except make sure to check Make Anaconda the default Python.

OS X:

  1. Go to https://www.continuum.io/downloads.
  2. Download Python 3.x (3.4 is fine) 64-bit graphical installer for OS X, not Python 2.7.
  3. Install Python 3.x using all defaults.

Once installation is complete, please go to this page to test that Python has installed correctly. If you do not have bash installed, please refer to the installation instructions at the bottom of this page.

For BOTH Windows and OS X - Installing IPython:

1. Go to http://ipython.org/install.html, and run the two lines of Anaconda commands at step 2.

Please come a bit early if you have trouble with installation.


LICENSE: This documentation and all textual/graphic site content is licensed under the Creative Commons - 0 License (CC0) -- fork @ github. Presentations (PPT/PDF) and PDFs are the property of their respective owners and are under the terms indicated within the presentation.