Pythonでテキストファイルを1行ずつ読み込む[Python] | VasteeLab

with open("text.txt") as f: for line in f: print(line) withを使いたくなければ, f = open("text.txt")...