优化均价算法

This commit is contained in:
2018-03-12 15:20:21 +08:00
parent 6caa0b07e6
commit c351000c5b
3 changed files with 56 additions and 14 deletions
+16 -13
View File
@@ -1,15 +1,18 @@
import datetime
import time
import fangjia
fangjia.send_dingding_msg("测试")
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)
# 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)