This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
"""
conda activate rag
pip install PyPDF2
from Util.PdfUtil import read_pdf_file
# 使用示例
if __name__ == "__main__":
pdf_file = r"d:/办公/【20250521】xyy需求审核(加报价)-局校一体化.pdf"
content = read_pdf_file(pdf_file)
if content:
print("\nPDF内容:")
print(content)