Permalink
Browse files

add task

  • Loading branch information...
1 parent 6953ab1 commit 6f1747f145aabde79dd55e887462e5ad50b94fc1 @DFectuoso committed Aug 26, 2012
Showing with 15 additions and 0 deletions.
  1. +15 −0 task.py
View
15 task.py
@@ -0,0 +1,15 @@
+
+import time
+import random
+import urllib2
+
+random.seed()
+
+while True:
+ for i in xrange(5):
+ n = random.random()
+ time.sleep(n)
+ req = urllib2.Request('http://requestb.in/tg7qo0tg')
+ response = urllib2.urlopen(req)
+ the_page = response.read()
+

0 comments on commit 6f1747f

Please sign in to comment.