Hi All,
I need to call a function for evry 10 secs
how can i achieve this in python
hisan 12 Light Poster
Recommended Answers
Jump to PostGenerally, you would store the next time you want to execute, i.e. now+10 seconds,
using a loop,
call the function,
upon the return get the time and calculate the difference between it and the next time and sleep that amount of time,
update the next time, (+10 seconds), and loop …
All 4 Replies
woooee 814 Nearly a Posting Maven
TrustyTony commented: Good advice and not too much. +13
SamarthWiz 0 Newbie Poster
JeoSaurus 32 Posting Whiz in Training
3e0jUn 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.