Exemple #1
0
def client(_args=[]):
    _file_name = _args[0]
    _module_name = gen_module_name(_args[1])
    _client_param = _args[2:]
    print _client_param
    obj_func = ref_load(_module_name)
    obj_func(_client_param)
Exemple #2
0
def run(_args):
    _func_name = sys._getframe().f_code.co_name
    _file_name = __file__.split("/")[-1].split(".py")[0]
    print "this is " + _file_name + " " + _func_name + " function."
    print _args
    ref_load(gen_module_name(_args[0]))(_args[1:])