Hello Mates,
Problem : I'm calling a function which runs executes every 30 minutes,
now i want to display content one after other webPage, how can i do it? For
example.
def index():
redirects(URL('call_print"))
return locals
def call_print():
for i in range(1,10):
print i
time.sleep(30*60)
call()
return locals()
I want call_print function to print 1...10 every time and appending 1...10
to existing webpage. How can i do it.
Doing in default/call_print.html file will display only after function
terminates, But i want to see it live.
Any Help is highly appreciate.
Thanks,
Chetan Jain
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.