Skip to content

Instantly share code, notes, and snippets.

@wgkoro
Created March 7, 2014 10:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wgkoro/9409357 to your computer and use it in GitHub Desktop.
Save wgkoro/9409357 to your computer and use it in GitHub Desktop.
PythonでCSV開いてほげふがするサンプル
#!/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