print "\nReading the entire file at once."text_file = open("read_it.txt", "r")whole_thing = text_file.read()print whole_thingtext_file.close()