RE: Namedtuples: TypeError: 'str' object is not callable

2017-01-07 Thread Deborah Swanson
Gregory Ewing wrote, on January 07, 2017 1:13 AM > > Deborah Swanson wrote: > > File "E:/Coding projects/Pycharm/Moving/moving_numberedtuples.py", > > line 139, in moving() > > for lst in map(listings._make, csv.reader(open('E:\\Coding > > projects\\Pycharm\\Moving\\Moving 2017

Re: Namedtuples: TypeError: 'str' object is not callable

2017-01-07 Thread Gregory Ewing
Deborah Swanson wrote: File "E:/Coding projects/Pycharm/Moving/moving_numberedtuples.py", line 139, in moving() for lst in map(listings._make, csv.reader(open('E:\\Coding projects\\Pycharm\\Moving\\Moving 2017 in.csv',"r"))): TypeError: 'str' object is not callable I know you've found

RE: Namedtuples: TypeError: 'str' object is not callable

2017-01-06 Thread Deborah Swanson
Chris Angelico wrote, on January 06, 2017 9:14 PM > > On Sat, Jan 7, 2017 at 4:07 PM, Deborah Swanson > wrote: > > > > I really don't know how long it would've taken me to think of that, so > > thank you! > > I have a well-trained crystal ball :) > > ChrisA More

Re: Namedtuples: TypeError: 'str' object is not callable

2017-01-06 Thread Chris Angelico
On Sat, Jan 7, 2017 at 4:07 PM, Deborah Swanson wrote: > And you would be precisely correct. I have a variable named 'map', and I > intended to delete it and the code that used it, but totally forgot > about it. It's still in there somewhere, but a simple search will

RE: Namedtuples: TypeError: 'str' object is not callable

2017-01-06 Thread Deborah Swanson
Chris Angelico wrote, on January 06, 2017 8:05 PM > To: python-list@python.org > Subject: Re: Namedtuples: TypeError: 'str' object is not callable > > > On Sat, Jan 7, 2017 at 2:46 PM, Deborah Swanson > <pyt...@deborahswanson.net> wrote: > > And here's the Trace

Re: Namedtuples: TypeError: 'str' object is not callable

2017-01-06 Thread Chris Angelico
On Sat, Jan 7, 2017 at 2:46 PM, Deborah Swanson wrote: > And here's the Traceback in PyCharm: > File "E:/Coding projects/Pycharm/Moving/moving_numberedtuples.py", > line 139, in moving() > for lst in map(listings._make, csv.reader(open('E:\\Coding >