dfile = open("abbreviations.txt", "r") for line in dfile: line = line.strip() print(line)