摘要: 先安装 PyMuPDF 库: pip install PyMuPDF 示例: import fitz def extract_fonts(pdf_path): with fitz.open(pdf_path) as doc: num_pages = doc.page_count fonts = [] 阅读全文
posted @ 2024-01-15 17:29 kjcy8 阅读(536) 评论(0) 推荐(0) 编辑