Skip to content
Workshop materials for Introduction to Programming with Python, June 2018
CSS JavaScript Jupyter Notebook HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
day-1
day-2
day-3
.gitignore
Handout.docx
README.md

README.md

Introduction to Programming with Python

June 25th - 29th, 2018

This repository contains materials and resources for the Introduction to Programming with Python workshop. Workshop details can be found at https://sites.northwestern.edu/summerworkshops/workshop-schedule/#intropython

Make sure to download and install Anaconda for Python 3.6 before attending!

Topics

Below is an outline of the topics that will be covered each day:

Day 1

  • Why Python
  • Running Python
  • Python as a calculator
  • Variables
  • Strings
  • Types
  • Indexing & Slicing
  • Lists
  • If statements
  • boolean values & expressions

Day 1 Slides

Day 1 Practice Session Exercises

Day 2

  • Jupyter
  • Loops - for, pass, while, range, break, continue
  • Dictionaries
  • Tuples
  • Sets
  • Functions

The materials for Day 2 are mostly Jupyter Notebooks. To view, launch jupyter notebook in this directory, then open the notebooks in the day-2 folder.

Day 3

  • Opening files
  • Builtins and the standard library (documentation pages)
  • Installing and importing packages
  • Writing and running scripts (spyder)
  • debugging (print statements, reading stack traces)
You can’t perform that action at this time.