> From: "Chris Richard Adams" > I'm trying to create a loop that reads through a simple > file with strings on each line. Take a look at the fileinput module: import fileinput for line in fileinput.input('filename'): process(line)