how to ignore the file if a string is not present using python?

后端 未结 0 1855
北荒
北荒 2020-12-23 10:21

I am searching for a string in .gz files and trying to print the last line with a specific string. It is giving me \'list Index is out of range\' if the string is not presen

相关标签:
回答
  • 消灭零回复
提交回复
热议问题