小编Ali*_*lah的帖子

类型错误:“_VirtualList”对象不可调用

当我运行此代码时,我的 GUI 显示此错误:

_VirtualList'对象不可调用

我哪里错了?

import PyPDF2
pdf = open("the-alchemist-paulo-coelho.pdf", "rb")
reader = PyPDF2.PdfReader(pdf)
page = reader.pages(0)
print(page.extractText())
Run Code Online (Sandbox Code Playgroud)

python pdf reader

2
推荐指数
1
解决办法
8546
查看次数

标签 统计

pdf ×1

python ×1

reader ×1