I have following code.
req = urllib2.Request(url,'',txheaders)
f = urllib2.urlopen(req)
data = f.read()
f.close()
In the above code, the read function takes 1-2 minutes when response is of 58KB. How can I make this faster.
I have following code.
req = urllib2.Request(url,'',txheaders)
f = urllib2.urlopen(req)
data = f.read()
f.close()
In the above code, the read function takes 1-2 minutes when response is of 58KB. How can I make this faster.
i have some problems with that too. there's nothing to do with internet speed.