python学习
holy wei
这个作者很懒,什么都没留下…
展开
-
Python的easygui学习
1.调用方法 (1)import easygui easygui.msgbox(…) (2)from easygui import msgbox(…) 2.函数方法 import easygui a = easygui.msgbox(’…’, title=‘title’) # show a:返回ok,none b = easygui.enterbox( ‘plaese give a soluti...原创 2018-10-06 13:51:01 · 116 阅读 · 0 评论 -
PythonPyPDF
1.PDF文件的合并 import PyPDF2 fs = [‘1.pdf’, ‘2.pdf’] m = PyPDF2.PdfFileMerger() for f in fs: m.append(PyPDF2.PdfFileReader(f)) m.write(‘1.pdf’) print(m) 2.PDF文件的加密 import PyPDF2 with open(‘ori_file.pdf’,‘...原创 2018-10-06 14:01:44 · 604 阅读 · 0 评论