当前位置:网站首页>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中不含水印功能,添加悬浮水印的功能在代码中有。
边栏推荐
- Custom swap function
- Windows auzre background operation interface of Microsoft's cloud computing products
- 项目复盘模板
- NPM cannot install sharp
- docker中mysql开启日志的实现步骤
- Return keyword
- Face recognition class attendance system based on paddlepaddle platform (easydl)
- POJ 1258 Agri-Net
- Redis persistence mechanism
- 2014 Alibaba web pre intern project analysis (1)
猜你喜欢

【Unity】升级版·Excel数据解析,自动创建对应C#类,自动创建ScriptableObject生成类,自动序列化Asset文件

Designed for decision tree, the National University of Singapore and Tsinghua University jointly proposed a fast and safe federal learning system

Custom swap function

asp读取oracle数据库问题
![[compilation principle] LR (0) analyzer half done](/img/ec/b13913b5d5c5a63980293f219639a4.png)
[compilation principle] LR (0) analyzer half done

Aardio - does not declare the method of directly passing float values

cuda 探索

监控界的最强王者,没有之一!

Unified Focal loss: Generalising Dice and cross entropy-based losses to handle class imbalanced medi

Machine test question 1
随机推荐
The statement that allows full table scanning does not seem to take effect set odps sql. allow. fullscan=true; I
Enterprises do not want to replace the old system that has been used for ten years
Interview question: AOF rewriting mechanism, redis interview must ask!!!
Typescript get function parameter type
Return keyword
Thinkphp5 multi table associative query method join queries two database tables, and the query results are spliced and returned
Matlab tips (27) grey prediction
Aardio - integrate variable values into a string of text through variable names
「小程序容器技术」,是噱头还是新风口?
Sizeof keyword
MySQL ---- first acquaintance with MySQL
UDP programming
Les entreprises ne veulent pas remplacer un système vieux de dix ans
MySQL中正则表达式(REGEXP)使用详解
Pytest unit test series [v1.0.0] [pytest execute unittest test case]
【全网首发】Redis系列3:高可用之主从架构的
监控界的最强王者,没有之一!
Uniapp setting background image effect demo (sorting)
Introduction to network basics
Cloud native technology container knowledge points