python - unbuffered urllib2.urlopen -


i have client web interface long running process. i'd have output process displayed comes. works great urllib.urlopen(), doesn't have timeout parameter. on other hand urllib2.urlopen() output buffered. there easy way disable buffer?

a quick hack has occurred me use urllib.urlopen() threading.timer() emulate timeout. that's quick , dirty hack.


Comments

Popular posts from this blog

drupal - using views argument in the view tpl.php file -

php - Posting PHPBB Forum Thread/Post info in a website -

php - Add a blog by sending a mail to a certain emailadress -