python-pypdf2
来源:互联网 发布:怎么看数据库版本 编辑:程序博客网 时间:2024/06/05 06:36
from PyPDF2 import PdfFileWriter, PdfFileReaderpdf_input = PdfFileReader(open('xx.pdf', 'rb'))pdf_output = PdfFileWriter()print(pdf_input.numPages)page = pdf_input.getPage(0) #pdf_output.addPage(page)pdf_output.write(open('xx.pdf', 'wb'))
------------------reference-----------------
1. http://pythonhosted.org/PyPDF2/
阅读全文
0 0
- python-pypdf2
- PyPDF2
- 【Python】pdf文件处理之“PyPDF2”库简易安装笔记
- python 爬虫 爬取PyPDF2的官方在线文档
- PyPDF2解析pdf文件
- PyPDF2提取pdf书签
- 使用 PyPDF2 操作 pdf 文件
- PyPDF2处理pdf文件的一个例子
- PyPDF2.utils.PdfReadError: Unexpected destination '/__WKANCHOR_2'
- pyPdf和pyPdf2在合并pdf时的那个异常
- 在windows下安装PyPdf2,将文件夹中的pdf文件合成为一个pdf文件
- Python
- Python
- Python
- python
- Python
- PYTHON
- Python
- js面向对象
- java异常
- java学习(6) java8 抽象类
- select 二级联动 之 匹配效率的提升
- Android App开发常用功能之用户头像选择
- python-pypdf2
- 开发工具——Android最漂亮的Logger日志打印工具
- 不容易系列之一
- java程序员成长之路
- nginx 实现反向代理负载均衡
- Mysql中用一个表更新另一个表
- K
- String类和StringBuilder类
- swagger 常用注解