<s> """<STR_LIT>""" <EOL> from datetime import datetime <EOL> import os <EOL> from tornado . ioloop import IOLoop <EOL> from apscheduler . schedulers . tornado import TornadoScheduler <EOL> def tick ( ) : <EOL> print ( '<STR_LIT>' % datetime . now ( ) ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> scheduler = TornadoScheduler ( ) <EOL> scheduler . add_job ( tick , '<STR_LIT>' , seconds = <NUM_LIT:3> ) <EOL> scheduler . start ( ) <EOL> print ( '<STR_LIT>' . format ( '<STR_LIT>' if os . name == '<STR_LIT>' else '<STR_LIT:C>' ) ) <EOL> try : <EOL> IOLoop . instance ( ) . start ( ) <EOL> except ( KeyboardInterrupt , SystemExit ) : <EOL> pass </s>
