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

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -

c++ - Update and multiple console windows -