I created a class using python. I created two fucntion within a class that calls functions within the class, which returns in a list.
I have been getting this error message:
Traceback (most recent call last):
File "E:/next/nexProcess4.py", line 195, in <module>
speed1= getSpeed(uid,per1.Accel())
File "E:/next/nexProcess4.py", line 114, in Accel
self.Distance = self.Distance()
File "E:/next/nexProcess4.py", line 95, in Distance
self.newLon =self.newLon()
TypeError: 'list' object is not callable
how do I fix this problem?
I have been getting this error message:
Traceback (most recent call last):
File "E:/next/nexProcess4.py", line 195, in <module>
speed1= getSpeed(uid,per1.Accel())
File "E:/next/nexProcess4.py", line 114, in Accel
self.Distance = self.Distance()
File "E:/next/nexProcess4.py", line 95, in Distance
self.newLon =self.newLon()
TypeError: 'list' object is not callable
how do I fix this problem?