python提取文本中的手机号_Python从vcf文件中读取手机号并进行去重操作
文章目录1. Python代码file = open('test.vcf', 'r', encoding='utf-8')tels = []for line in file:line = line.strip('\n')contents = line.split(':')if contents[0] == 'TEL;TYPE=CELL':print(contents[1])tels.append(...