PAMIE save an image

elbertlev at hotmail.com elbertlev at hotmail.com
Fri Jun 9 14:31:45 EDT 2006


Hi, all!

I'm writing a web page tester. The page is designed in such a way, that
every time it creates an image file and displays it on the page. As
soon as the file is downoladed it is deleted from the server.
Using PAMIE I can download the page (by controlling an instance of IE)
then
images = ie.imagesGet() #list of images
src = images[0].getAttribute('src') #sorce of the image

Is it possible to save the image(s) in the local file?




More information about the Python-list mailing list