Programming and Algorithms: Week 20


File Analysis

What are we doing this week?

This week we are going to look at how the FILE ANALYSIS part of GOOGLE SEARCH in PYTHON. We'll look at CHARACTER COUNT, WORD COUNT, LINE COUNT in PYTHON. We'll look at how to measure WORD FREQUENCY and look at full FILE ANALYSIS in PYTHON.
Python Python Logo

Powerpoint: File Analysis

Total running time of videos is 30 minutes.

Google logo
Matt Cutts: How Search Works

Eli Pariser: Beware online "filter bubbles"

Think Python: Word Frequency Analysis

Learn Python the Hard Way: Dictionaries, Oh Lovely Dictionaries

Python Docs: Brief Tour of the Standard Library

Sample Code:
String Pre-Processing * File Statistics * Word Frequency * Full File Analysis
Sample Files:

Lab #20
Lab #20 is about adding options to the FULL FILE ANALYSIS program.


If you have any suggestions, corrections, or comments, please feel free to e-mail me at: