Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.05 KB

File metadata and controls

42 lines (33 loc) · 1.05 KB

Introduction to Programming with Python

Credits to 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)