+ 1

Why is this code not outputting the image in the console

When ever i use urllib.request.urlretrieve(url,"photo.jpg") in my previous code it used to output picture to the console but why it is not working now? https://code.sololearn.com/cMOtyMx2wm2Q/?ref=app

30th Apr 2023, 10:38 AM
Samuel
Samuel - avatar
2 Respuestas
+ 1
I always use .png files. Are you sure you used .jpg before?
30th Apr 2023, 2:24 PM
Paul
Paul - avatar
+ 1
Thank you Paul it works now
1st May 2023, 7:20 PM
Samuel
Samuel - avatar