Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
pypdfium2でPDFを読む
[go: Go Back, main page]

pypdfium2でPDFを読む

pypdfium2 は比較的新しいPDFライブラリです。pip install pypdfium2 で入ります。

Pythonライブラリですが、コマンド pypdfium2 も入ります。

pypdfium2 extract-text example.pdf >example.txt

とすればPDFからテキストが抽出できます。