User:Inge Hoonte/captain tweet

From XPUB & Lens-Based wiki
< User:Inge Hoonte
Revision as of 08:48, 17 May 2011 by Inge Hoonte (talk | contribs) (Created page with "#!/usr/bin/python import twitter import time api = twitter.Api(username='...', password='...') print('Starting...') while 1 == 1: api.PostUpdate(getoutput('uptime')) ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  1. !/usr/bin/python

import twitter import time api = twitter.Api(username='...', password='...')

print('Starting...')

while 1 == 1:

       api.PostUpdate(getoutput('uptime'))
       print(getoutput('uptime'))
       time.sleep(3600)