发布时间:2019-09-17 07:44:29编辑:auto阅读(2515)
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
54761
41548
36126
31593
26494
26200
24724
20311
16266
15697
2760°
2505°
2613°
2745°
2698°
2918°
2837°
2672°
2686°
2658°