How do i set a timeout value for python\'s mechanize?
If you're using Python 2.6 or better, and a correspondingly updated version of mechanize, mechanize.urlopen should accept a timeout=... optional argument which seems to be what you're looking for.
mechanize
mechanize.urlopen
timeout=...