发布时间:2019-09-17 07:44:29编辑:auto阅读(2559)
os
json
datetime datetime
django.http HttpResponse
re
elasticsearch Elasticsearch
es = Elasticsearch(
[]=)
res8 = es.search(
==={
:{
:{
:{
::}
}
}
}
)
statistic():
():
hit res8[][]:
a= (%hit + %hit[])
a= re.split(a);
a
row a:
id = row[]
= row[]
id
HttpResponse(a)
上一篇: Python与Cisco的事儿之三
下一篇: python学习之认识fabric
55120
41923
36505
31909
26815
26485
25023
20646
16554
15968
3182°
2879°
2972°
3122°
3056°
3333°
3232°
3063°
3054°
3034°