Update getdata.py

master
p2tfsuw8f 3 years ago
parent 2648afd958
commit dd8f338f1d

@ -47,4 +47,14 @@ date = []
time = []
through = []
Num = 0
for i in result:
for i in result:
NUM = 0
f = open('20.txt', 'w', encoding="utf-8")
f.write(i)
f.close()
data = openreadtxt("20.txt")
data = str(data)
name1 = re.findall("病例\d", data)
getOne = re.findall("\d{1,2}月\d{1,2}?日.*?。+(?=\d{1,2}月\d{1,2}日)|\d{1,2}月\d{1,2}?日.*?。+(?=病例)", data)
numname = 0
for i in getOne:
Loading…
Cancel
Save