hi all,
I am trying to make a prog. which will download image from a web site.But the problem is the dynamic nature of the web site.
The url is like http://www.site.com/image.aspx?id=445
If i wanna access image 1,2 or anything i can change the id and i can view the pic in my browser.
My prog. is running fine.I am getting the image but the quality of the images is getting very poor.

import urllib
url = 'http://www.site.com/others/getimage.aspx?id=67'
    data = urllib.urlopen(str(url)).read()
    f = open('image.jpg,'w')
    print "Image Generated!!!!"

Is there any other way to Download images from a websites in python.
I have tried it with "WGET"..Its working fine...!!!

it worked great....!!!!!!!!!!Thanks a lot....!!!