|
Basic python question May 22, 2011 12:43PM |
Registered: 1 year ago Posts: 2 |
|
Re: Basic python question May 22, 2011 12:48PM |
Registered: 1 year ago Posts: 2 |
|
Re: Basic python question May 23, 2011 03:55AM |
Admin Registered: 3 years ago Posts: 611 |
pdf = client.convertURI('http://example.com')
open('document.pdf', 'wb').write(pdf)
Or you can save the pdf directly to a file:
client.convertURI('http://example.com', open('document.pdf', 'wb'))