修改: PriceSystem/sell_price/zhuge0118A.py

修改:     PriceSystem/test.py
This commit is contained in:
罗干
2018-03-13 11:11:22 +08:00
parent 27225947d2
commit 78e3670302
2 changed files with 57 additions and 35 deletions
+31 -15
View File
@@ -1,18 +1,34 @@
import datetime
import fangjia
fangjia.send_dingding_msg("测试")
#fangjia.send_dingding_msg("测试")
import time
import sell_price.zhuge0118A as sellPrice
s = time.time()
#上海 闵行上海康城
ct = '上海'
rl = '闵行'
lk = '上海康城'
#weekend = datetime.datetime.strptime("2018-03-11", "%Y-%m-%d")
#for i in range(0, 100):
sellPrice.out_put_price(ct, rl, lk, fangjia.get_weekend())
e = time.time()
print(e - s)
'''
###
import pandas as pd
a=pd.read_csv('fangjia.seaweed.csv')
for i in a.index:
ct=a['city'][i]
rl=a['region'][i]
lk=a['name'][i]
sellPrice.out_put_price(ct, rl, lk, weekend)
'''
# import time
#
# import sell_price.zhuge0118A as sellPrice
#
# s = time.time()
#
# ct = '上海'
# rl = '杨浦'
# lk = '邯郸路60弄小区'
# weekend = datetime.datetime.strptime("2018-03-11", "%Y-%m-%d")
# for i in range(0, 100):
# sellPrice.out_put_price(ct, rl, lk, weekend)
# e = time.time()
# print(e - s)