2025年7月9日

摘要: import pdfplumber def extract_text_from_pdf(pdf_path): # 打开PDF文件 with pdfplumber.open(pdf_path) as pdf: # 初始化一个空字符串来存储文本 text = "" # 遍历每一页 for page in 阅读全文
posted @ 2025-07-09 12:06 张博的博客 阅读(12) 评论(0) 推荐(0)

导航