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

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

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