摘要: 0、用到两个扩展模块:ReportLab、PyPDF2。 1、创建水印PDF。 1)、创建文字水印pdf文件 代码: 效果图: 原文: https://www.aliyun.com/jiaocheng/457203.html 阅读全文
posted @ 2018-11-20 18:52 安迪9468 阅读(1539) 评论(0) 推荐(0)
摘要: import os # 如果文件夹不存在,则创建 save_dir = "train_model" # 文件夹名称 save_path = os.getcwd() + os.sep + save_dir if not os.path.isdir(save_path): os.makedirs(sav 阅读全文
posted @ 2018-11-20 11:10 安迪9468 阅读(173) 评论(0) 推荐(0)