Once my application is on , I want the application to send a POST to a particular URL for every 3 minutes . How do i do this with python
Once my application is on , I want the application to send a POST to a particular URL for every 3 minutes . How do i do this with python
hello anadnarayan891
you can go through this article and make a function for posting your data to a web server. After that you can use a timer or loop to call that function as and when needed.
Regards,
Gargi Das- http://gargidas.blogsot.com
Forum Nokia Python Wiki
Learn Python at http://mobapps.org/PyS60
Hi gargi ,
I had gone through the article . I used ao_sleep , it hangs the UI . How do I make a function execute every 3 minutes ,without hanging my UI
hello anand
then why dont you try implementing timers using ao_timers. Please got through this article to handle problems while dealing timers.
Regards,
Gargi Das- http://gargidas.blogsot.com
Forum Nokia Python Wiki
Learn Python at http://mobapps.org/PyS60