首页
Python
Java
IOS
Andorid
NodeJS
JavaScript
HTML5
【
tred_extract_EDED_new
】的更多相关文章
tred_extract_EDED_new
# -*- coding:utf-8 -*- import re ''' 适应新版本 ''' year='17a'#用户自定义 ss='./data/'#根目录 filename = ss+'EDED%s.txt'%year#输入文件名 def tred_nonote(): p1 = r"^(?:\s{5}|X\s{4}|\W\s{4})(\d\d\d\d)\s\s[A-Z].+\]$"#匹配1001 p2 = r"^(?:\s{5}|X\s{4}|\W\s{4})\d\d\…