对比TXT重复数据
def read_txt3():
global txt3
txt3 = open('重复.txt', 'w')
class repetition:
@staticmethod
def read_txt1():
global text1
with open(r'词.txt', 'r', ) as f:
pl = f.read()
text1 = pl.split(',') # 用逗号分割str字符串.
原创
2022-03-12 10:05:55 ·
538 阅读 ·
0 评论