标签:.com googl python get string ref hello import port
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‘)
标签:.com googl python get string ref hello import port
原文地址:http://blog.51cto.com/yangzhiming/2306665