SyntaxFix
Write A Post
Hire A Developer
Questions
img_data=requests.get('https://apod.nasa.gov/apod/image/1701/potw1636aN159_HST_2048.jpg') with open(str('file_name.jpg', 'wb') as handler: handler.write(img_data)