469,290 Members | 1,804 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,290 developers. It's quick & easy.

Sleep()?

Hi,

Is there some way to implement a timer in python? I want to open a
process and pipe a log out of it every 10 minutes. How can I do this? Thanks
Steve

Jul 18 '05 #1
2 1506
Steve wrote:
Hi,

Is there some way to implement a timer in python? I want to open a
process and pipe a log out of it every 10 minutes. How can I do this?
Thanks


Check time.sleep()

--
Glitch

-----BEGIN TF FAN CODE BLOCK-----
G+++ G1 G2+ BW++++ MW++ BM+ Rid+ Arm-- FR+ FW-
#3 D+ ADA N++ W OQP MUSH- BC- CN++ OM P75
-----END TF FAN CODE BLOCK-----

"Blehhh! To think that a warrior must become a ... a rat patrol."
-- Dinobot, "Coming of the Fuzors" II
Jul 18 '05 #2
"Steve" wrote:
Is there some way to implement a timer in python? I want to open a
process and pipe a log out of it every 10 minutes. How can I do this?

Thanks

I think the Timer class in the threading module sounds like exactly what you
want.
Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Anks | last post: by
7 posts views Thread by Colin Brown | last post: by
5 posts views Thread by Dave | last post: by
21 posts views Thread by Alo Sarv | last post: by
8 posts views Thread by Cider123 | last post: by
9 posts views Thread by Chris Dunaway | last post: by
13 posts views Thread by Charles Zhang | last post: by
reply views Thread by Tim Golden | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.