global aa global bb def bb(): print "bb" def aa(): print "aa" bb() print 'testLocalVar1- a: ' + str(a) print 'testLocalVar1- b: ' + str(b) time.ctime() print time.strftime('%Y.%m.%d %H:%M:%S') bb() aa() set_return("OK 1")