# -*- coding:utf-8 -*-
#标准代码
import linecache
#lines存储错误的行
lines=[] #错误行,字符串形式列表
error_lines=[] #错误行,不包括首行
int_lines=[] #错误行,整数形式列表,不包括首行
error_lines_file_path=r'C:\Users\yawei.chen\Desktop\Puck\Python\Job\test\error_seq.txt' #需要抽取的错误行数
source_file_path=r
根据ETL报错的信息,用Python从源文件中提取出错误的内容
最新推荐文章于 2024-07-26 17:36:26 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)