2-Day Software Carpentry-Python Workshop 11/14-15/2018 Gables Campus



software-carpentry-logo

Register Now

This Bash, Python, and git workshop is capped at 24 participants, and is on a first-come/ first-served basis.

  • If you are looking to make yourself competitive in the job market
  • If you want to take a personal project to the next level
  • If you are interested in learning programming for data analysis

Then, this workshop is for you.

Our trained instructors will lead you through a comprehensive, hands-on overview of an introductory data analysis using Python. We will cover topics like data types, functions, conditional statements, loops, errors and exceptions, debugging, and some key Python libraries and writing Python programs that will work like Linux command-line tools. This workshop is designed to provide a foundation of basic concepts that all programming depends on, using Python as an example.

Python logoWHEN

Wednesday and Thursday, 11/14-15/2018
9:00 AM – 5:00 PM

WHERE

Richter Library, Learning Commons Flexible Program Space (1st Floor), Gables Campus

NOTE: Bring your own laptop (any OS).

 

____________________

This 2-day workshop will provide you with the basic computing skills and best practices needed to be productive in a small research team. The format is a mixture of short seminars and hands-on practical exercises, and participants are encouraged to help one another, and to try applying what they have learned to their own research problems during and between sessions.

 

Instructors:  Nick O’Neill, PhD student in Neuroscience |  Tim Norris, PhD, Research Data Scientist

 

Getting Started – Setup

To participate in a Software Carpentry workshop, you will need access to the software described below (Bash Shell, Git, and Python). In addition, you will need an up-to-date web browser.

We maintain a list of common issues that occur during installation as a reference for instructors that may be useful on the Configuration Problems and Solutions wiki page.

The Bash Shell

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

Windows

Video Tutorial

  1. Download the Git for Windows installer.
  2. Run the installer and follow the steps bellow:
    1. Click on “Next”.
    2. Click on “Next”.
    3. Keep “Use Git from the Windows Command Prompt” selected and click on “Next”. 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.
    4. Click on “Next”.
    5. Keep “Checkout Windows-style, commit Unix-style line endings” selected and click on “Next”.
    6. Keep “Use Windows’ default console window” selected and click on “Next”.
    7. Click on “Install”.
    8. Click on “Finish”.
  3. If your “HOME” environment variable is not set (or you don’t know what this is):
    1. Open command prompt (Open Start Menu then type cmd and press [Enter])
    2. Type the following line into the command prompt window exactly as shown:setx HOME "%USERPROFILE%"
    3. Press [Enter], you should see SUCCESS: Specified value was saved.
    4. Quit command prompt by typing exit then pressing [Enter]

This will provide you with both Git and Bash in the Git Bash program.

macOS

The default shell in all versions of macOS is Bash, so no need to install anything. You access Bash from the Terminal (found in/Applications/Utilities). See the Git installation video tutorial for an example on how to open the Terminal. 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).

You will need an account at github.com for parts of the Git lesson. Basic GitHub accounts are free. We encourage you to create a GitHub account if you don’t have one already. Please consider what personal information you’d like to reveal. For example, you may want to review these instructions for keeping your email address private provided at GitHub.

Windows

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

macOS

There are several ways to install Git on a Mac. The easiest is probably to install the Xcode Command Line Tools. On Mavericks (10.9) or above you can do this simply by trying to run git from the Terminal (in the finder applications/utilities/terminal) the very first time.

$ git --versionIf you don’t have git installed already, it will prompt you to install it.

If you want a more up to date version, you can also install it via a binary installer. A macOS Git installer is maintained and available for download at the Git website, at http://git-scm.com/download/mac.

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 dnf install git.

Python

Python is a popular language for research computing, and great for general-purpose programming as well. Installing all of its research packages individually can be a bit difficult, so we recommend Anaconda, an all-in-one installer.

Regardless of how you choose to install it, please make sure you install Python version 3.x (e.g., 3.6 is fine).

We will teach Python using the Jupyter 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

Video Tutorial

  1. Open https://www.anaconda.com/download/#windowswith your web browser.
  2. Download the Python 3 installer for Windows.
  3. Install Python 3 using all of the defaults for installation except make sure to check Make Anaconda the default Python.

macOS

Video Tutorial

  1. Open https://www.anaconda.com/download/#macos with your web browser.
  2. Download the Python 3 installer for OS X.
  3. Install Python 3 using all of the defaults for installation.

Linux

  1. Open https://www.anaconda.com/download/#linuxwith your web browser.
  2. Download the Python 3 installer for Linux.
    (The installation requires using the shell. If you aren’t comfortable doing the installation yourself stop here and request help at the workshop.)
  3. Open a terminal window.
  4. Type
    bash Anaconda3-

    and then press tab. The name of the file you just downloaded should appear. If it does not, navigate to the folder where you downloaded the file, for example with:

    cd Downloads

    Then, try again.

  5. Press enter. You will follow the text-only prompts. To move through the text, press the space key. 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).
  6. Close the terminal window.

 

SPONSORS

 


University of Miami Graduate School logo            University of Miami Center for Neuroscience and Aging logo 

University of Miami Richter Libraries logo                University of Miami Department of Public Health Sciences logo            University of Miami Center for Computational Science logo
 

 

CCS
Skip to toolbar