首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > perl python >

list object is not callable,该如何处理

2012-08-09 
list object is not callableif starttime(startindex).hourstoptime(i).hour:if not iterm(i):contin

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: 

热点排行