优化均价算法

This commit is contained in:
2018-03-09 17:34:54 +08:00
parent d94f79a570
commit 742bad7de9
3 changed files with 61 additions and 71 deletions
+5 -13
View File
@@ -4,20 +4,12 @@ import time
import sell_price.zhuge0118A as sellPrice
s = time.time()
#上海嘉定莱茵北郡
ct='上海'
rl='嘉定'
lk='莱茵北郡'
#上海闵行上海康城
ct = '上海'
rl = '嘉定'
lk = '莱茵北郡'
weekend = datetime.datetime.strptime("2018-03-11", "%Y-%m-%d")
sellPrice.out_put_price(ct, rl, lk, weekend)
for i in range(0, 100):
sellPrice.out_put_price(ct, rl, lk, weekend)
e = time.time()
print(e - s)