当前位置:网站首页>PDF批量拆分、合并、书签提取、书签写入小工具
PDF批量拆分、合并、书签提取、书签写入小工具
2022-07-06 15:40:00 【小小明-代码实体】
拆分功能:
指定要拆分的PDF文件,按照多少页一个文件进行拆分,输出示例:
合并功能:
指定要合并的PDF文件夹,效果示例:
默认将文件名作为书签进行合并。
书签的提取和写入:
可以提取指定PDF文件的书签,也可以将指定的书签文件的书签写入到指定PDF。
例如,以下PDF所提取的书签:
我们可以在修改这个书签文件后,再写入进去。有时复杂粘贴目录正则替换出来书签页码需要进行一定的偏移操作,示例:
我们在需要给书签文件的页面增加或减少页数时,可以修改偏移的数字。
完整代码:
https://gitcode.net/as604049322/python_gui/-/blob/master/pdf_tools.py
已打包的gui下载地址:
https://gitcode.net/as604049322/python_gui/-/raw/master/pdf_tools.exe?inline=false
打包的gui中不含水印功能,添加悬浮水印的功能在代码中有。
边栏推荐
- mysql拆分字符串作为查询条件的示例代码
- Bipartite graph determination
- UVa 11732 – strcmp() Anyone?
- Aardio - Method of batch processing attributes and callback functions when encapsulating Libraries
- Introduction to network basics
- 项目复盘模板
- Case recommendation: An Qing works with partners to ensure that the "smart court" is more efficient
- Use ECs to set up an agent
- 监控界的最强王者,没有之一!
- NPM cannot install sharp
猜你喜欢

Aardio - Method of batch processing attributes and callback functions when encapsulating Libraries

Sword finger offer question brushing record 1

DR-Net: dual-rotation network with feature map enhancement for medical image segmentation
docker中mysql开启日志的实现步骤

Les entreprises ne veulent pas remplacer un système vieux de dix ans

视图(view)

Method of canceling automatic watermarking of uploaded pictures by CSDN

Enterprises do not want to replace the old system that has been used for ten years

ICLR 2022 | pre training language model based on anti self attention mechanism

企業不想換掉用了十年的老系統
随机推荐
Use ECs to set up an agent
UVa 11732 – strcmp() Anyone?
UVa 11732 – strcmp() Anyone?
dockermysql修改root账号密码并赋予权限
The application of machine learning in software testing
Jafka source analysis processor
Puppeteer连接已有Chrome浏览器
The difference between enumeration and define macro
Financial professionals must read book series 6: equity investment (based on the outline and framework of the CFA exam)
Is "applet container technology" a gimmick or a new outlet?
How does crmeb mall system help marketing?
Dayu200 experience officer runs the intelligent drying system page based on arkui ETS on dayu200
OpenNMS separation database
Les entreprises ne veulent pas remplacer un système vieux de dix ans
DR-Net: dual-rotation network with feature map enhancement for medical image segmentation
How to choose indoor LED display? These five considerations must be taken into account
MySQL authentication bypass vulnerability (cve-2012-2122)
企业不想换掉用了十年的老系统
Signed and unsigned keywords
专为决策树打造,新加坡国立大学&清华大学联合提出快速安全的联邦学习新系统