Python for Everybody (py4e.com)
These are the lectures to supplement the textbook 'Python for Everybody: Exploring Information' and its associated web site py4e.com
Python for Everybody (py4e.com)
9.3 Counting Words in Text
•
Dr. Charles Russell Severance
Use Left/Right to seek, Home/End to jump to start or end. Hold shift to jump forward or backward.
In this segment we bring everything together, reading a file, parsing the lines, and computing the frequencies of the words in the file. This is an important moment that pulls from everything we have learned so far.