hi,
i am trying to use the timeout option in the urllib2.urlopen:
but python wont accept it for some reason,
it will accept it without the timeout which is normal
any ideas?
i am trying to use the timeout option in the urllib2.urlopen:
Code:
u = urllib2.urlopen(address, timeout = 120)
uTxt = u.read()
u.close()
but python wont accept it for some reason,
it will accept it without the timeout which is normal
Code:
u = urllib2.urlopen(address)
any ideas?