Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Beautiful Soup Python Library 


Urllib.request Python Library 

  • Can open files that come from a URL request 

  • Can save local copy of image from website 

  • Filevar = Open(localfilename.jpg, ‘wb’)   (’wb’ is for write bytes) 

  • Filevar.write(urllib.request.urlopen(URLstring.jpg).read()) 

  • Filevar.close() 


  • No labels