pyc2

来源:互联网 发布:嵌入式软件测试 编辑:程序博客网 时间:2024/06/14 15:55
import restr1='''此处加入网页源代码中的字符串''''''#其中一种方法list1=[]key=[]for i in str1:    list1.append(i)    if i not in key:        key.append(i)for each in key:    print(each,list1.count(each))'''print(re.findall('[A-Za-z]',str1))
0 0