摘要: 场景: pymongo 查询数据库的时候报错。 for gscode in GSList_StockPool_Mongo_MktStop: self._collection_flash.find({"ymd": nDateNow, "gscode": gscode}).count() 原因: 不是u 阅读全文
posted @ 2017-05-17 17:30 那一剑的風情 阅读(1718) 评论(0) 推荐(0) 编辑
摘要: 错误原因: 一般是拷贝别人的代码过来编辑,由于编辑器不同,出现 tab和 space 的差别。 解决方法: Window->Preferences->PyDev->Editor->Tabs 一般eclipse中会默认把 Replace tabs with spaces when typing 勾上。 阅读全文
posted @ 2017-05-17 14:05 那一剑的風情 阅读(758) 评论(0) 推荐(0) 编辑