Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65524
| Date | 2014-02-06 00:53 -0800 |
|---|---|
| From | Gary Herron <gary.herron@islandtraining.com> |
| Subject | Re: TypeError: 'list' object is not callable |
| References | <38411b43-0f2b-451c-a4ac-1379b5cc8607@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.6440.1391677305.18130.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
On 02/06/2014 12:01 AM, wilsonmonde@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
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
TypeError: 'list' object is not callable wilsonmonde@gmail.com - 2014-02-06 00:01 -0800
Re: TypeError: 'list' object is not callable Peter Otten <__peter__@web.de> - 2014-02-06 09:22 +0100
Re: TypeError: 'list' object is not callable wilsonmonde@gmail.com - 2014-02-06 01:11 -0800
Re: TypeError: 'list' object is not callable Asaf Las <roegltd@gmail.com> - 2014-02-06 01:24 -0800
Re: TypeError: 'list' object is not callable Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2014-02-06 11:34 +0200
Re: TypeError: 'list' object is not callable Gary Herron <gary.herron@islandtraining.com> - 2014-02-06 00:53 -0800
csiph-web