Pdf 我如何知道输出值?用于设置进度条的步骤

Pdf 我如何知道输出值?用于设置进度条的步骤,pdf,pypdf2,Pdf,Pypdf2,我如何知道输出值?要在设置进度条时使用 pdf_file = Document2.pdf' ## source file docx_file = sample_2.docx' ## destination file # convert pdf to docx parse(pdf_file, docx_file, start=0, end=None) #convert # output Parsing Page 53: 53/53... #output Creating Page 53: 53

我如何知道输出值?要在设置进度条时使用

pdf_file  = Document2.pdf'  ## source file
docx_file = sample_2.docx' ## destination file
# convert pdf to docx
parse(pdf_file, docx_file, start=0, end=None) #convert
# output
Parsing Page 53: 53/53... #output
Creating Page 53: 53/53... #output