using python to visit web sites and print the web sites image to files

Paul Boddie paul at boddie.org.uk
Mon Mar 12 16:26:44 EDT 2007


Goldfish wrote:
> You can definitely create a web bot with python. It doesn't require
> that you "drive" A real web browser.

That's true, but if you want to print the page to a file, you need
something that can reproduce the intended layout. The Pyglet library
developers mention "XML/HTML+CSS" as something the layout engine can
deal with, which sounds quite impressive if its support of CSS is
comprehensive:

http://pyglet.org/

Paul




More information about the Python-list mailing list