Log in

Sign up for our weekly newsletter!

When & Where
Date: 
Fri, November 13, 2015 - 1:00 PM to 3:00 PM
Location: 
Convening Room
Description
Type: 

This workshop will be a dive into programming in Python. We will cover types, lists, loops, dictionaries, conditionals, and functions. By the end, you will have some practice with Python and other resources to further your learning. This workshop expects a little previous exposure to Python: if you have not seen Python before, please go through this 10-minute tutorial. This workshop is the first of a 2-part series (see here for second training). This workshop (Part 1) is similar to the Introduction to Python workshop taught earlier this semester. 

Requirements:

Required:

You will need to download and install Python and a plaintext editor on your system. (Either Python 2 or 3 is ok.)

Python installation:

  • If you are on a Mac, you already have Python. Try opening the Terminal application and see if "python" or "python3" take you to a command prompt with 3 brackets ">>>"
  • If you are on Windows, please install Python (Python 3.5, Windows x86 web-based installer are recommended)

Plaintext editor: Sublime Text is recommended. Download here.

Please email Kunal if you have any installation issues.

Recommended:

Go through this 10-minute tutorial

Skim through Python for Social Sciences by Jean Mark Gawron, Professor of Linguistics at SDSU

Install Jupyter: This is my favorite way to write and test Python code, and visualize my results. With Jupyter, you can intersperse code and text in one big file called a “notebook”. Highly recommended for research use.

    • Please install Anaconda. If your lab does not have a preference, I use Python 3.
    • Open the Terminal (Mac) or Command Prompt (Windows), and type “conda install jupyter”. Follow the installation procedures.
    • To run, open the Terminal (Mac) or Command Prompt (Windows) and type “jupyter notebook”. Then, click on “New” (at the top right), and make a new notebook.
Keyword: 
Details
Training Host: 
D-lab Facilitator: 
Patty Frontiera
Participant Technology Requirement: 
Laptop required with Python and plaintext editor installed (see details above)