![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
编程
lgs2016
这个作者很懒,什么都没留下…
展开
-
ruoyi-vue常用表格
-- ------------------------------ 客户表-- ----------------------------drop table if exists sys_customer;create table sys_customer ( customer_id bigint(20) not null auto_increment comment '客户id', customer_name varchar(30)原创 2022-04-25 22:56:28 · 210 阅读 · 0 评论 -
python-docx处理word文件指定页面批量打印
需求如下:word文件670份,每份8-17页不等,要求奇数页打-5至-1页(两张),偶数页的文件打后4页(两张)。最终查到解决方案如下:(1)word文件的docx格式先转为pdf格式,防止在分页时出现错误;(2)pdf格式文件按奇偶数页不同分为两大类,放入不同文件夹;(3)使用截取页数,偶数页截后4页,奇数页截倒数5至1页;(4)使用批量pdf打印即可。代码如下:1 docx文件转pdf# Imports ==========================================原创 2021-10-13 13:16:55 · 2275 阅读 · 4 评论