发布时间:2019-09-07 08:12:04编辑:auto阅读(2452)
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地理位置
53090
40016
34396
30146
25045
24844
23219
16699
14853
14348
684°
637°
694°
719°
764°
895°
858°
878°
972°
896°