Skip to content

Instantly share code, notes, and snippets.

@ramalho
Created December 8, 2011 16:48
Show Gist options
  • Select an option

  • Save ramalho/1447561 to your computer and use it in GitHub Desktop.

Select an option

Save ramalho/1447561 to your computer and use it in GitHub Desktop.
from jrelogio import Relogio
rel = Relogio()
rel.start()
from java.awt import *
rel.mostrador.foreground = Color.RED
print rel.mostrador.text
from time import sleep
while True:
if rel.mostrador.text.endswith('0'):
print 'PING', rel.mostrador.text
sleep(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment