TypeError: 'list' object is not callable

wilsonmonde at gmail.com wilsonmonde at gmail.com
Thu Feb 6 09:01:30 CET 2014


import csv

date1 = []
open = []
high = []
low = []
close = []
data = []
with open("C:/Documents and Settings/wilson/My Documents/Downloads/execution.csv", "rb") as csvfile:
	fastreader = csv.reader(csvfile, delimiter = ",", skipinitialspace=True)
	count = 0
	for row in fastreader:
		date1.append(row[0])
		count = count + 1


TypeError: 'list' object is not callable



More information about the Python-list mailing list