IT 116: Introduction to Scripting
Class 18

Review


New Material


Microphone

Homework 8

I have posted homework 8 here.

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

Quiz 6

I have posted the answers to Quiz 6 here.

Questions

Are there any questions before I begin?

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

Writing Data to a File

Reading Data From a File

Attendance

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

Professional Responsibility

Codes of Conduct

Class Exercise

Class Quiz