def getURL(url):
  """Get data"""

  try:
    # Build a post request
    req = urllib2.Request(url)
    start = time.time() 
    response = urllib2.urlopen(req)
    print time.time()-start
    return response
  except urllib2.HTTPError,e:
    print "Error"
    return e
dataset/ETHPy150Open neurodata/ndstore/test/io_benchmark.py/getURL/original