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)
7.1 Reading Files
•
Dr. Charles Russell Severance
Use Left/Right to seek, Home/End to jump to start or end. Hold shift to jump forward or backward.
We look at how text and lines are represented in files, how we open a file and write a loop to read through all the lines in the file.