摘要: import re import xlrd f1 = open("v9_c8_a3_a16.txt","w") f2 = open("a9_not_c8a3a16.txt","w") f3 = open("c8_not_v9a3a16.txt","w") f4 = open("a3_not_v9c8 阅读全文
posted @ 2017-10-25 22:14 pyming 阅读(4090) 评论(0) 推荐(0)
摘要: #!coding:utf-8 # Author:pymingming import xlrd import re from xlrd import open_workbook from xlutils.copy import copy def read(file, sheet_index=0): w 阅读全文
posted @ 2017-10-25 22:13 pyming 阅读(28431) 评论(0) 推荐(0)
摘要: 看了很多大牛的帖子,结合前辈的经验。从excel表格中批量提取数据,整理后重新写回excel。 阅读全文
posted @ 2017-10-25 21:57 pyming 阅读(1400) 评论(0) 推荐(0)
摘要:  ?匹配零次或一次前面的分组。  *匹配零次或多次前面的分组。  +匹配一次或多次前面的分组。  {n}匹配 n次前面的分组。  {n,}匹配 n次或更多前面的分组。  {,m}匹配零次到 m次前面的分组。  {n,m}匹配至少 n次、至多m次前面的分组。  {n,m}?或*?或+? 阅读全文
posted @ 2017-10-25 08:50 pyming 阅读(205) 评论(0) 推荐(0)