I think previous to 0.3 it was possible to print to the output like
class timed:
def GET(self):
print 'hello'
sleep(1) # sleep for a second
print 'hello'
This would print 'hello' to the output then wait a second and print
'hello' again. The user would actually notice the 1 second sleep.
How can we do this in 0.3? (obviously the return doesn't work here)
-Severin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---