Hi,
I'm trying to use Time.sleep function on printing, here is the code:
def sleep(request):
res = HttpResponse()
res.write("hello")
time.sleep(3)
res.write("hello");
return res
But it doesn't work (Page waits 3 seconds and prints "hellohello"),
how can i solve this problem? If we can solve this problem, i think
that we can create comet applications easily...
Thanks
Azer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---