Created
March 7, 2014 10:47
-
-
Save wgkoro/9409357 to your computer and use it in GitHub Desktop.
PythonでCSV開いてほげふがするサンプル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding:utf-8 -*- | |
import csv | |
csvfile = open('hoge.csv', 'r') | |
reader = csv.reader(csvfile) | |
for i, row in enumerate(reader): | |
if not i: | |
continue | |
print(row) | |
csvfile.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment