当前位置:网站首页>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中不含水印功能,添加悬浮水印的功能在代码中有。
边栏推荐
- Aardio - construct a multi button component with customplus library +plus
- (flutter2) as import old project error: inheritfromwidgetofexacttype
- 2014 Alibaba web pre intern project analysis (1)
- Les entreprises ne veulent pas remplacer un système vieux de dix ans
- Enterprises do not want to replace the old system that has been used for ten years
- Volatile keyword
- [step on pit collection] attempting to deserialize object on CUDA device+buff/cache occupy too much +pad_ sequence
- uniapp设置背景图效果demo(整理)
- Flutter life cycle
- UDP programming
猜你喜欢
企業不想換掉用了十年的老系統
Cloud native technology container knowledge points
Dockermysql modifies the root account password and grants permissions
Les entreprises ne veulent pas remplacer un système vieux de dix ans
How to choose indoor LED display? These five considerations must be taken into account
On file uploading of network security
MySQL authentication bypass vulnerability (cve-2012-2122)
金融人士必读书籍系列之六:权益投资(基于cfa考试内容大纲和框架)
【全网首发】Redis系列3:高可用之主从架构的
监控界的最强王者,没有之一!
随机推荐
2014 Alibaba web pre intern project analysis (1)
spark调优(二):UDF减少JOIN和判断
【全网首发】Redis系列3:高可用之主从架构的
Sizeof keyword
poj 1094 Sorting It All Out (拓扑排序)
Project duplicate template
Aardio - integrate variable values into a string of text through variable names
Let's see through the network i/o model from beginning to end
视图(view)
UDP programming
监控界的最强王者,没有之一!
CUDA exploration
ACL 2022 | 序列标注的小样本NER:融合标签语义的双塔BERT模型
Volatile keyword
Detailed explanation of ThreadLocal
POJ 1258 Agri-Net
Dayu200 experience officer runs the intelligent drying system page based on arkui ETS on dayu200
Designed for decision tree, the National University of Singapore and Tsinghua University jointly proposed a fast and safe federal learning system
MySQL实现字段分割一行转多行的示例代码
Windows Auzre 微软的云计算产品的后台操作界面