python - How to speed up read method call of object returned by urllib2.urlopen -
i have following code.
req = urllib2.request(url,'',txheaders) f = urllib2.urlopen(req) data = f.read() f.close()
in above code, read function takes 1-2 minutes when response of 58kb. how can make faster.
Comments
Post a Comment