1         for line in fr.readlines():
 2             try:
 3                 # print(len(line))
 4                 if(len(line)==1):
 5                     continue
 6                 else:
 7                     fw.write(matcher1[0]+'_%s'%j+','+line)
 8                     j=j+1
 9             except:
10                 pass

 

相关文章:

  • 2021-12-04
  • 2021-11-27
  • 2021-11-28
  • 2021-11-28
  • 2021-07-04
  • 2021-06-11
  • 2021-09-23
  • 2021-06-08
猜你喜欢
  • 2022-12-23
  • 2022-01-24
  • 2021-10-07
  • 2022-12-23
  • 2021-11-17
  • 2022-02-19
相关资源
相似解决方案