Posted By

entt on 07/27/15


Tagged

pythongeturl


Versions (?)

Python get URL


 / Published in: Python
 

HTTP get of a URL

  1. import urllib2
  2. response = urllib2.urlopen("http://example.com/foo/bar").read()

Report this snippet  

You need to login to post a comment.