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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -