Python: saving image from web to disk -
Can I save images using Python? An example of an image would be:
The easiest to use.
Python 2:
import urllib urllib.urlretrieve ('http: //chart.apis.google.com / ...', 'outfile.png')
Python 3:
import urllib.request urllib.request.urlretrieve ('http: //chart.apis.google.com / ... ',' Outfile.png ')
Comments
Post a Comment