python BUGGGGGGGGGG

1.TypeError: ‘list’ object is not callable 不要用与系统内置同名的字段

2.operatorlist:<tornado.concurrent.Future object at 0x7f03a41d7190> 查mongo数据库返回Future对象需要用yield字段包裹

3.TypeError: string indices must be integers, not unicode 取数组的值的时候格式搞清楚,可能不是数组,拿错了, 往往是for的时候拿到的可能不是一个字典啥的

posted @ 2020-08-04 10:13  LeeJuly  阅读(111)  评论(0编辑  收藏  举报