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
Post a Comment