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

2007-03-14 Thread [EMAIL PROTECTED]
On Mar 14, 9:02 am, "imx" <[EMAIL PROTECTED]> wrote: > Cool, but does it mean that I will need .net to run the code? Yep - runtime is free though as is IronPython. For my program the license is BSD. Cheers, Davy -- http://mail.python.org/mailman/listinfo/python-list

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

2007-03-14 Thread imx
On 3月14日, 上午5时44分, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > The reason I want to do simulation but not just crawling is : we have > > to check many web pages' front page to see whether it conform to our > > visual standard, e.g, it should put a search box on the top part of > > the page.

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

2007-03-13 Thread [EMAIL PROTECTED]
> The reason I want to do simulation but not just crawling is : we have > to check many web pages' front page to see whether it conform to our > visual standard, e.g, it should put a search box on the top part of > the page. It's tedious for human work. So I want to 'crawl and save > the visual pre

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

2007-03-12 Thread imx
On 3月13日, 上午12时39分, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Mar 12, 7:32 am, "imx" <[EMAIL PROTECTED]> wrote: > > > I wonder whether python can be used to simulate a real user to do the > > following: > > 1) open a web site in a browser; > > 2) printscreen, so to copy the current active

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

2007-03-12 Thread imx
On 3月13日, 上午4时26分, "Paul Boddie" <[EMAIL PROTECTED]> wrote: > 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 in

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

2007-03-12 Thread Paul Boddie
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

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

2007-03-12 Thread Alberto Monteiro
Goldfish wrote: > > I run a mediawiki web site, and found a handy python-based library > written to manage it called pywikipediabot at http://sourceforge.net/projects/pywikipediabot/. > This sounds interesting. My daughter had a nightmare that a hacker invaded her Orkut and blanked all 1500+ scr

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

2007-03-12 Thread Goldfish
You can definitely create a web bot with python. It doesn't require that you "drive" A real web browser. There are libraries to open web pages, scrape their contents, and do downloading. That would make your bot platform neutral. Driving a GUI browser has the risk of being a brittle script that mig

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

2007-03-12 Thread Michael Bentley
> > I wonder whether python can be used to simulate a real user to do the > following: > 1) open a web site in a browser; > 2) printscreen, so to copy the current active window image to > clipboard; > 3) save the image file to a real file > > Any pointer will be apprieciated! Which OS? -- http

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

2007-03-12 Thread [EMAIL PROTECTED]
On Mar 12, 7:32 am, "imx" <[EMAIL PROTECTED]> wrote: > I wonder whether python can be used to simulate a real user to do the > following: > 1) open a web site in a browser; > 2) printscreen, so to copy the current active window image to > clipboard; > 3) save the image file to a real file > Any poi

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

2007-03-11 Thread imx
Hi there, I wonder whether python can be used to simulate a real user to do the following: 1) open a web site in a browser; 2) printscreen, so to copy the current active window image to clipboard; 3) save the image file to a real file Any pointer will be apprieciated! Xiong -- http://mail.pyth