def read_log_file(file_path): lines = [] for file_path in args.input: with open(file_path, 'r') as f: for line in f: lines.append(line.strip()) return() 补全代码
时间: 2024-03-07 14:52:33 浏览: 160
Eraska_DEBUG_ERASKA_KillDisk_eraska_WipeHDD_EraseHDD_
def read_log_file(file_path):
lines = []
for file_path in args.input:
with open(file_path, 'r') as f:
for line in f:
lines.append(line.strip())
return lines
阅读全文