在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問(wèn)答/Python/ 如何利用python替換PDF文件里的內(nèi)容

如何利用python替換PDF文件里的內(nèi)容

公司搬家,現(xiàn)需要更換一些PDF文件里的內(nèi)容,因數(shù)量比較多,所以想要用python完成。查詢(xún)一番后,現(xiàn)發(fā)現(xiàn)有PyPDF模塊支持PDF文件使用,但是失敗了,求大佬賜教。

回答
編輯回答
臭榴蓮

pypdf不支持替換,只支持:

extracting document information (title, author, ...),
splitting documents page by page,
merging documents page by page,
cropping pages,
merging multiple pages into a single page,
encrypting and decrypting PDF files.

可以曲線(xiàn)救國(guó),先轉(zhuǎn)word再改內(nèi)容:
http://blog.csdn.net/zyc12156...

2017年10月6日 23:06