读书人

list object is not callable,该如何处

发布时间: 2012-08-09 15:59:21 作者: rapoo

list object is not callable
if starttime(startindex).hour==stoptime(i).hour:
if not i==term(i):
continue
else:
m=False
lastedindex=startindex
cardic[str(starttime(lastedindex).hour)]=mainlinenum(i)-mainlinenum(startindex)
第一行,不可调用?

[解决办法]

Python code
if starttime[startindex].hour==stoptime[i].hour: 

读书人网 >perl python

热点推荐