摘要:
1.聚合函数 (1)所有书的平均价格 res = models.Book.objects.aggregate(Avg('price')) res = models.Book.objects.aggregate(Max('price'),Min('price'),Sum('price'),Count( 阅读全文
摘要:
一、pdf基本操作 from PyPDF2 import PdfFileReader, PdfFileWriter def extract_information(pdf_path): with open(pdf_path, 'rb') as fp: pdf = PdfFileReader(fp) 阅读全文