view modules/net_mon/timer_test.py @ 47:190a81a60e7e tip

Update README G: changed README.txt
author Gernot Schulz <gernot@intevation.de>
date Sun, 07 Feb 2016 13:26:32 +0100
parents 1a13a4ecf931
children
line wrap: on
line source
#!/usr/bin/env python3

""" <DECRIPTION>

author: Sean Engelhardt <sean.engelhardt@intevation.de>

This is Free Software unter the terms of the
GNU GENERAL PUBLIC LICENSE Version 2 or later.
See http://www.gnu.org/licenses/gpl-3.0.txt for details
"""

import time, threading

def foo():
    print(time.ctime())
    threading.Timer(10, foo).start()

foo()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)