发布时间:2019-09-07 08:12:04编辑:auto阅读(2144)
import re
Setaliyun=set('')
Setczgame=set('')
with open('alirpm.txt','r') as f:
for line in f:
Result=re.subn('-\d.*','',line)[0]
Setaliyun.add(Result)
#print(Setaliyun)
with open('gamerpm.txt','r') as f:
for line in f:
Result=re.subn('-\d.*','',line)[0]
Setczgame.add(Result)
#print(Setczgame)
#print(Setaliyun-Setczgame)
print(Setczgame-Setaliyun)
上一篇: Python第八周 学习笔记(1)
下一篇: python分析ip地理位置
51345
50803
41399
38196
32688
29581
28414
23297
23257
21587
1665°
2397°
2002°
1939°
2270°
1971°
2674°
4474°
4304°
3069°