url to image

2007-06-07 Thread sononix
just wondering are there any snippets out there where you can convert
a url to an image using python

I have be trying to use

webbrowser.open("www.mypage.com")

with printscreen but I have no means of finding out when the page url
is fully loaded

any tips

tks
M

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: url to image

2007-06-07 Thread sononix
On Jun 7, 7:49 pm, Szabolcs  Nagy <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > just wondering are there any snippets out there where you can convert
> > a url to an image using python
>
> you mean render a webpage as an image?
> does not sound a simple task
> maybe you can use oss web rendering engines like gecco, khtml or
> webcore

This can be done(very primitive) using the PIL library though the
problem is that I havent found a means of firing an event when the
page had been loaded

Is there any means of firing an event in firefox or checking some
variable maybe in the urllib2 library to check this

-- 
http://mail.python.org/mailman/listinfo/python-list