def __init__(self, host, db, user, password, ak="DW2CwL3B3271CiVyw7GdBsfR"):
logging.debug("Constructor ak:%s" % ak)
self.baiduAPIService = BaiduMapAPIService(ak)
self.baiduMapDAO = BaiduMapDAO(host, db, user, password)
self.around_facilities_distance = [] # ?????????????????
self.around_data = {} # ????????????????
self.around_facilities_zuobiao = [] # ??????
self.around_facilities_zhoubiansheshibiaozuoliebiao = [] # ????????
self.facilities_ditance = [] # ?????????????????
self.maxdistance_and_hotelzuobiao = [] # ???????????
self.hotelname_and_zuobiao = [] #??????????
self.disigeziduan = [] #?????????????
self.bed = {}
# def __del__(self):
# print "... Destructor BaiduMapSnatcherService... %s" % multiprocessing.current_process().name
SnatcherService.py 文件源码
python
阅读 25
收藏 0
点赞 0
评论 0
评论列表
文章目录