发布时间:2019-07-03 12:50:43编辑:auto阅读(2483)
python转html页面为pdf:
安装wkhtmltopdf略
#!/usr/bin/python
import pdfkit
pdfkit.from_url('http://google.com','baidu.pdf')
:wq
pdfkit.from_string('hello,python','baidu.pdf')
pdfkit.from_file('aa.html','baidu.pdf')
上一篇: Python 正则表达式:compile
下一篇: Python的流程控制 - if条件
52025
51877
42116
38965
33466
30417
29043
24076
23993
22341
34°
80°
109°
100°
120°
114°
135°
159°
159°
163°