Lecture 2: Introduction to Python


PDF files of the lecture slides handouts.


These suggested readings are important because they explain the terminology used in our lectures and labs. They also talk about common practices such as debugging, how to name variables, or the difference between interactive and script mode in Python.

If you are someone who likes to test the vocabulary of a new knowledge domain (in this case, programming), here is an interactive page with the Think Python vocabulary on Memrise.


Click on this lecture_02.zip link to download the .zip file to your computer. Unzip the downloaded lecture_02.zip file (by double-clicking on it) to reveal a folder with the notebook file for this lecture and a script file shown in slide 2-20.


HTML solutions for the notebook.

lecture_02-solns.zip link (zip file with solution notebook)