i = 4
if i > 3: print 'hello word'
if i == 2: print 'hello JJT'
#举例说明
#检测时间是否到了整点
import time
times = time.strftime('%H')
if times == 00: print 'On the hour'
if i > 3: print 'hello word'
if i == 2: print 'hello JJT'
#举例说明
#检测时间是否到了整点
import time
times = time.strftime('%H')
if times == 00: print 'On the hour'