Python 文字コードを指定してファイルを開く
ナビゲーションに移動
検索に移動
Python 文字コードを指定してファイルを開く
Python |
- import codecs
- fd = codecs.open(search_result_file, 'r', 'shift_jis')
- for l in fd:
- print l
© 2006 矢木浩人