Reading Everything: read the whole file in one go
f = open("filename") for char in f.read(): process(char)