txt读取、查找对应中文、写入文件
之前一直出现小问题,现在先把写好的结果整理到这里
第一种:使用unicode
def startprofile(file):
file =file
fp = open(file,'r')
data = fp.readlines()
result = [0,0,0,0,0]
# num = num #比赛场次
if os.path.exists('./teamAI.txt'):
os.remove(