示例#1
0
def main():
    for i in range(0, 500):
        logging.debug('working...')
        try:
            spy.track_user(UID, i)
        except:
            logging.debug('sleeping...')
            time.sleep(60 * 10)
示例#2
0
def main():
    while True:
        spy.track_user(UID)
        time.sleep(WAIT)