TypeError: 'list' object is not callable
Gary Herron
gary.herron at islandtraining.com
Thu Feb 6 03:53:58 EST 2014
On 02/06/2014 12:01 AM, wilsonmonde at gmail.com wrote:
> 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
I'd be glad to help, but I'm not interested in guessing. Pleas take the
time to tell us what line produced that error? That is: cut and paste
the *full* traceback instead of hiding useful information when you are
asking for help.
Gary Herron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140206/4a7a6852/attachment.html>
More information about the Python-list
mailing list