Skip to content
Introductory Python Series for UC Berkeley's D-Lab
Jupyter Notebook Python
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
Day_1 Fixed broken links. Synced challenge questions between main notebooks… Mar 11, 2019
Day_3 Fixed inconsistencies in Day 3 materials, explained syntax vs. runtim… Mar 17, 2019
useful_stuff added useful_stuff/ Aug 18, 2019
.gitignore gitignore Aug 8, 2016 sp fix Mar 9, 2018 Fixed broken links and updated install instructions to use Anaconda N… Mar 11, 2019
LICENSE license update Mar 8, 2017 use codeblock instead of inline Sep 20, 2019

D-Lab Python Fundamentals Series

To sign up for the Python series and other workshops, please visit the D-Lab's website.

To run these lessons in the cloud, click this button: Binder

To run these lessons on your laptop, clone the repo on your laptop command line:

git clone

The D-Lab introductory series consists of four parts:

Part 1:

  • Running Python
  • Jupyter notebooks
  • Variables assignment
  • Types conversion
  • Strings
  • Built-ins

Part 2:

  • Lists
  • Loops
  • Conditionals
  • Functions
  • Scope

Part 3:

  • Dictionaries
  • Files
  • Libraries
  • Errors
  • Comprehensions

Part 4:

  • Python in Application

Parts 1-3 focus on learning the basics of programming in Python. This includes variables, data types, conditionals, functions, scope, debugging, and style. All of the materials aim to use examples from the social sciences and humanities in order to better relate to our target audience. In support of this, Part 4 is a day of application. Learners will work with a real-world text data set of UN documents, extracting targeted information and generating tabular data, ultimately writing to a .csv file suitable for subsequent statistical analysis. Everything needed to complete Part 4 is covered in parts 1-3.


Much of these materials were adapted from those produced by Software Carpentry. Thank you!

You can’t perform that action at this time.