Python Room Schedule (Will Trimble & Jonah Duckles)

Helpers:

Subject to Change

Schedule :

Day 1

8:30 - 9:00 Setup Help
9:00 - 9:30 Introduction
9:30 - 10:30 Introduction to the shell
10:30 - 10:40 Break
10:40 - 12:00 Automating workflows (shell)
12:00 - 1:00 Lunch
1:00 - 2:30 Don't repeat yourself (Version Control I)
2:30 - 2:40 Break
2:40 - 4:15 Collaborate (Version Control II)
4:15 - 4:30 Wrap up and Questions
 

Day 2

9:00 - 9:30 Review / Questions
9:30 - 10:40 Write code for people (python variables & data structures)
room-schedules/python/03-python/vars-types/variables.ipynb
room-schedules/python/03-python/vars-types/exercises.ipynb
room-schedules/python/03-python/data-structures/data-structures.ipynb
10:40 - 10:50 Break
10:50 - 12:00 Write code for people II (flow control)
room-schedules/python/03-python/flow-control/python_flow_control.ipynb
12:00 - 1:00 Lunch
1:00 - 2:30 Plan for Mistakes (testing)
Navigate to room-schedules/python/04-testing/
2:30 - 2:40 Break
2:40 - 4:15 Plan for mistakes (debugging tools)
Navigate to room-schedules/python/05-debugging/
4:15 - 4:30 Wrap up and Questions
 

Chatroom


Installation

To complete the entire workshop, we will need four pieces of software: a Bash, Git, a code editor (though any plain text editor will work in a pinch), and python (including ipython noteboook). With these tools, your computer will be ready for a wide variety of scientific computing tasks. One of our goals in this workshop is to help you get these cutting-edge programs installed so you can focus on science in the future, not installation.


Bash

Bash is a commonly-used shell. Using a shell gives you more power to do more tasks more quickly with your computer.

Mac

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.

Windows

Install Git Bash following these instructions. This gives you the Bash shell plus Git.

Linux

The default shell is usually bash but if not you can get to bash by opening a terminal and typing bash. No need to install anything.


Code Editor

When you're writing code, it's nice to have a text editor that is optimized for writing code, with features like automatic color-coding of key words.

Mac

We recommend Text Wrangler or Sublime Text.

Windows

Notepad++ is a popular free code editor for Windows.

Linux

Kate is one option for Linux users.


Python

Mac / Windows / Linux

We recommend the all-in-one scientific Python installer Anaconda.


Git

Git is the most popular version control system, a system that records changes to a file or set of files over time so that you can recall specific versions later, in the scientific community.

Mac

Download the graphical OSX Git installer from Sourceforge and install following instructions.

Windows

Install Git Bash following these instructions. This gives you the Bash shell plus Git.

Linux

If you are on a Debian-based distribution like Ubuntu, try apt-get:

$ apt-get install git

If you're on Fedora, you can use yum:

$ yum install git-core