IT 116: Introduction to Scripting
Class 24

Tips and Examples


Review


New Material


Microphone

Homework 11

I have posted homework 11 here.

This is the last homework assignment.

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

Quiz 9

Let's look at the answers to Quiz 9 .

Announcement

The UMB IT Club and Boston Linux User Group will hold a Linux InstallFest on Saturday, May 3rd, from 9 to 5 in the McCormack Conference Room, M03-0721.

If you have a machine on which you would like to install Linux and would like some help in doing this, bring it the InstallFest.

Volunteers from the Boston Linux User Group with be on hand to help with the installation.

They will also help you install the Window Subsystem for Linux (WSL) on your machine or install Linux as a dual boot.

You can also bring your questions about Linux or Unix to the InstallFest.

The Boston Linux and Unix User Group counts among its members some of the most knowledgeable Linux and Unix people in the Boston area.

You will find directions to M03-0721 here.

Announcement

The UMB IT Club and Boston Linux User Group will hold a Linux InstallFest on Saturday, May 3rd, from 9 to 5 in the McCormack Conference Room, M03-0721.

If you have a machine on which you would like to install Linux and would like some help in doing this, bring it the InstallFest.

Volunteers from the Boston Linux User Group with be on hand to help with the installation.

They will also help you install the Window Subsystem for Linux (WSL) on your machine or install Linux as a dual boot.

You can also bring your questions about Linux or Unix to the InstallFest.

The Boston Linux and Unix User Group counts among its members some of the most knowledgeable Linux and Unix people in the Boston area.

You will find directions to M03-0721 here.

Questions

Are there any questions before I begin?

Tips and Examples

Don't Use Indexes to Loop Through a List

Review

Operators That Work on Objects

Concatenating Lists

The Repetition Operator

Indexing

Changing Elements Using Indexes

Slices

Leaving Out Indexes in a Slice

Skipping Elements in a Slice

The in Operator

List Methods

The append Method

The pop Method

The sort Method

The reverse Method

The del Statement

The min and max Functions

Attendance

New Material

Time for Computer Operations

Reading a File into a List

Advantages of Using Lists with Files

Problems with Copying Objects

Copying Lists

Functions That Return Lists

Functions That Return Objects

Functions That Work with Lists

Functions That Change Lists

Intellectual Property

Class Exercise

Class Quiz