As I'm adding XMLRPC support in my apps, I'd like to send a module in server to be executed in client. My plan in sending the file content via xmlrpc, and doing compile + eval, but eval just execute the code object without returning the module.
Original: import mymodule mymodule.run(request) Wish: string_code = rpc_con.GetModule('mymodule') code_obj = compile(string_code, '<string>', 'exec') mymodule = eval(code_obj) mymodule.run(request) Any helps on this topic would be highly appreciated. Thanks! -- dsw -- http://mail.python.org/mailman/listinfo/python-list