Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のような csv ファイルがあります。
s555555,7 s333333,10 s666666,9 s111111,10 s999999,9
Pythonで開くと、次のようになります。
[[’s555555’, ’7’], [’s333333’, ’10’], [’s666666’, ’9’], [’s111111’, ’10’], [’s999999’, ’9’]]
そのためにどのコードを使用する必要がありますか?
ありがとうございました。
モジュールをチェックアウトしcsvます。(http://docs.python.org/library/csv.html)
csv