Image download failure from wget.download function.

ashwath at nanoheal.com ashwath at nanoheal.com
Tue Dec 8 23:46:26 EST 2015


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//images//pythonlogo.jpg') 
 
For all the other URLs also same image format failure is happening.
 
So can you please check and lemme know the reason for failure.
 
 
 
Thank you
 
Ashwath



More information about the Python-list mailing list