def main(): try: res_path = abspath(join(lib_path, '..')) print "set res_path:%s" % res_path cc.CCFileUtils.sharedFileUtils().setSearchPaths([res_path]) print 'py start ok!' from game.ctl import start start() except: traceback.print_exc()
def main(): print 'py start ok!' from game.ctl import start start()