📅  最后修改于: 2022-03-11 14:46:02.985000             🧑  作者: Mango
import pikepdf
file_path = "path_name"
pdf = pikepdf.open(file_path, allow_overwriting_input=True)
pdf.save('path_name/saved.pdf')