import re Setaliyun=set('')Setczgame=set('')with open('alirpm.txt','r') as f:for line in f:Result=re.subn('-\d.*','',lin
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)
--结束END--
本文标题: python 比较相同linux系统rp
本文链接: https://lsjlt.com/news/188527.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-03-01
2024-03-01
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0