http://yoan.dosimple.ch/blog/2007/11/30/
class js(object):
def GET(self, name):
web.header('Content-type', 'text/html')
yield web.flush()
print "<html><body>"
for i in xrange(1000):
time.sleep(1)
load = getloadavg()
print render.js(*load)
print "</html></body>"
how do we write this in webpy
thanks a lot
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---