IT 116: Introduction to Scripting
Class 22

Tips and Examples


Review


New Material


Microphone

Homework 10

I have posted homework 10 here.

It is due this coming Sunday at 11:59 PM.

Readings

If you have the textbook you should read Chapter 7, Lists and Tuples, from Starting Out with Python.

Quiz 8

The answers to Quiz 8 are posted here.

Let's take a look.

Questions

Are there any questions before I begin?

Tips and Examples

All Scripts Must Be Executable

Review

The Code in the try Clause

Different Exception Types

Common Exception Types

Handling More Than One Type of Exception

The else Clause

The finally Clause

Attendance

New Material

Working with Collections of Data

Sequences

Lists

The list Function

Using a for Loop with Lists

Empty Lists

The len Function

The min and max Functions

Creating Lists from Files

Honesty and Trust

Class Exercise

Class Quiz