IT 116: Introduction to Scripting
Class 18

Today's Topics

Review


New Material

Homework 8

I have posted homework 8 here.

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

Review

Files

Types of Files

Identifying a File

Storing Data on a Hard Disk

Files and the Kernel

Working with a File in Python

Objects

Accessing the Data in Files

Opening a File

Specifying the Location of a File

Writing Data to a File

Reading Data From a File

New Material

Reading a File Line By Line

Getting Rid of Newline Characters

Writing and Reading Numbers

Appending Data to an Existing File

Using Loops to Process Files

Reading Files with while and readline

Reading Files with a for Loop

Attendance