Re: Image download failure from wget.download function.

2015-12-09 Thread Peter Otten
ashw...@nanoheal.com wrote: > I am trying to download the image from a URL, I am able to download a > file but after downloading if I try to open the image it says file format > is corrupted or damaged. What version of python are you using? Where did you get the wget libary? > I use this funct

Image download failure from wget.download function.

2015-12-09 Thread ashwath
Hi I am trying to download the image from a URL, I am able to download a file but after downloading if I try to open the image it says file format is corrupted or damaged. I use this function to download the image - wget.download('http:realpython.com//learn//python-first-steps//i