摘要: def f4(): d = {} with open('a.txt', mode='rt', encoding='utf-8') as f: for line in f: i = line.strip('\n').split(':') d[i[0]] = i[1] return dimport ti 阅读全文
posted @ 2021-07-04 16:15 点滴180 阅读(16) 评论(0) 推荐(0) 编辑