Pythonでのファイル操作 - Qiita
読み込み # coding:utf-8 f = open('test.txt','r') for row in f: print row.strip() f.close() 下記のようにwithを利用すればclose()忘れが無い。 with open('tes...