3 ms·
i = 0 while True: i += 1 if not urlfetch('http://news.ycombinator.com/comments?id=%d' http://news.ycombinator.com/comments?id=%
by jey 20y ago
i = 0
while True:
i += 1
if not urlfetch('http://news.ycombinator.com/comments?id=%d' http://news.ycombinator.com/comments?id=%d' % i):
break
# implementaton of urlfetch() left as an exercise to the reader