当前位置:网站首页>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中不含水印功能,添加悬浮水印的功能在代码中有。
边栏推荐
- OpenSSL:适用TLS与SSL协议的全功能工具包,通用加密库
- MySQL ---- first acquaintance with MySQL
- MATLAB小技巧(27)灰色预测
- The ceiling of MySQL tutorial. Collect it and take your time
- Aardio - integrate variable values into a string of text through variable names
- Windows auzre background operation interface of Microsoft's cloud computing products
- Face recognition class attendance system based on paddlepaddle platform (easydl)
- On the problems of born charge and non analytical correction in phonon and heat transport calculations
- UDP programming
- [unity] upgraded version · Excel data analysis, automatically create corresponding C classes, automatically create scriptableobject generation classes, and automatically serialize asset files
猜你喜欢
Designed for decision tree, the National University of Singapore and Tsinghua University jointly proposed a fast and safe federal learning system
欧洲生物信息研究所2021亮点报告发布:采用AlphaFold已预测出近1百万个蛋白质
Les entreprises ne veulent pas remplacer un système vieux de dix ans
UE4 blueprint learning chapter (IV) -- process control forloop and whileloop
Sword finger offer question brushing record 1
Motion capture for snake motion analysis and snake robot development
MySQL authentication bypass vulnerability (cve-2012-2122)
【全网首发】Redis系列3:高可用之主从架构的
MySQL中正则表达式(REGEXP)使用详解
Dayu200 experience officer runs the intelligent drying system page based on arkui ETS on dayu200
随机推荐
DevSecOps软件研发安全实践——发布篇
MySQL实现字段分割一行转多行的示例代码
(DART) usage supplement
Case recommendation: An Qing works with partners to ensure that the "smart court" is more efficient
OpenNMS separation database
Financial professionals must read book series 6: equity investment (based on the outline and framework of the CFA exam)
Use ECs to set up an agent
华为云GaussDB(for Redis)揭秘第21期:使用高斯Redis实现二级索引
Typescript get function parameter type
第十九章 使用工作队列管理器(二)
[unity] upgraded version · Excel data analysis, automatically create corresponding C classes, automatically create scriptableobject generation classes, and automatically serialize asset files
mysql查看表结构的三种方法总结
Return keyword
Thinkphp5 multi table associative query method join queries two database tables, and the query results are spliced and returned
石墨文档:4大对策解决企业文件信息安全问题
Uniapp setting background image effect demo (sorting)
欧洲生物信息研究所2021亮点报告发布:采用AlphaFold已预测出近1百万个蛋白质
同构+跨端,懂得小程序+kbone+finclip就够了!
How to choose indoor LED display? These five considerations must be taken into account
(flutter2) as import old project error: inheritfromwidgetofexacttype