Skip to content

Instantly share code, notes, and snippets.

@KentaYamada
Created August 9, 2014 06:36
Show Gist options
  • Save KentaYamada/8c5cc9056ea34ba532cc to your computer and use it in GitHub Desktop.
Save KentaYamada/8c5cc9056ea34ba532cc to your computer and use it in GitHub Desktop.
PythonでCSVファイル読み込み
#-*- coding:utf-8 -*-
import csv
def csvDownLoad():
f = open("test.csv")
data = csv.reader(f)
for row in data:
print(row)
f.close()
if __name__ == "__main__":
csvDownLoad()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment