{Filename} is not UTF encoded. Cannot be saved
I am not able to open the image in file in which I have written it.
Error while saving image
Hey @shubham_sinha, make sure you have made image file as follows,
with open(“sample_pic.jpg”,‘wb’) as f:
f.write(r.content)
Hope this resolved your doubt.
Plz mark it as resolved in my doubts section.